[smufl-discuss] Re: Notehead Metrics

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[smufl-discuss] Re: Notehead Metrics

dspreadbury
Administrator
Glenn wrote:

> Not sure if my note regarding the suggestion for a unison whole notehead

> came through.

I don't think it did: please resend your suggestion when you get the
chance.

> So if I properly created a formula from your instructions, given the
> point of placement of the note ( X, Y ) I should place the SW point of
> an upward stem at:
>
> ( X + stemUpSE[0] - stemThickess,  Y + stemUpSE[1] )
>
>
> When I did so, at larger sizes, it protruded awkwardly from the note.
> So I "fiddled around" with the stemUpSE[0] numbers, until I got a stem
> that was tangent to the note at the attachment point.

This is a bit weird. I don't believe we're specifying the wrong point in
the metadata, because we don't even calculate the stemUpSW point! You can
see the points we have defined for noteheadHalf in this picture:

https://imgur.com/vM2sqqW

I place these anchors by hand in the font application, and they are
exported by way of our Python scripts as coordinates in font design units
(Bravura is 1000UPM), then converted into the stave space values by
dividing by 250. We don't impose any limitations on the precision of the
resulting floating point number.

We're not using these metadata directly in our renderer yet, though, so it
is possible that something is going wrong. Are you able to share an
example code snippet and/or SVG?

> This raises my second question. While you recommend a staffLineThickness

> of .13, I was experimenting with a staffLineThickness of .1, and even at

> smaller zoom factors (anything above 17pt @96dpi) was noticing a little
> protrusion of the notes both above and below the staff lines surrounding

> the space they are sitting in.  Should the notes not be constrained to
> the center point of the stafflines (or slightly less), rather than
> exceeding the center points?

This is by design. The noteheads are about as large as we can possibly get
away with, and this means that when positioned in a space, they do overlap
the adjacent spaces by a small amount. I checked this with a number of
engravers who worked in the days of punches and hand autography and they
unanimously agreed that making the noteheads larger improved readability.
If I remember rightly, the noteheads are 7% larger than the stave space.

Daniel

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Steinberg Media Technologies GmbH, Frankenstrasse 18b, D-20097 Hamburg, Germany
Phone: +49 (40) 21035-0 | Fax: +49 (40) 21035-300 | www.steinberg.net
President: Andreas Stelling | Managing Director: Hiroshi Sasaki, Hirofumi Osawa
Registration Court: Hamburg HRB 86534
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[hidden email]>.
To unsubscribe, E-mail to: <[hidden email]>
To switch to the DIGEST mode, E-mail to <[hidden email]>
To switch to the INDEX mode, E-mail to <[hidden email]>
Send administrative queries to  <[hidden email]>