The y=0 makes sense and I understand how to set the position the note.
However, if I set it the size to 20pt, then a half-note head will be taller than a whole-note head even if they are a the same position. Am I overlooking something? Laurent On Thu, Mar 20, 2014 at 12:57 PM, Daniel Spreadbury <[hidden email]> wrote: > Laurent wrote: > >> I am looking at the SMUFL specifications for font metrics and try to >> understand how it works with the Bravura font. Looking at the font, I >> noticed that the height of note head glyph can vary. For the standard >> whole note head (E0A2), the glyph goes from -136 below the baseline to >> 137 above it. For a half-note head (E0A3), the glyph goes from -145 >> below the baseline to 145 above it. How is this supposed to fit a >> staff space? If I understand correctly, the note head is meant to file >> a interline for a staff of 1em, that is 250 with a 1000 upm. I guess >> we also have to take into account the staff line thickness, but I am >> not sure I understand how this is supposed to work and how to deal >> with the height difference. > > The idea is that the height difference doesn't matter: the glyphs are > registered such that the centre of the staff line or space on which they > should be positioned corresponds with y=0, i.e. the glyph baseline. So > provided you have your font size set correctly (if you are drawing a staff > height of 20pt, say, then you should set the size of Bravura to 20pt as > well), simply positioning the glyph at the appropriate staff position will > give a correct result, without any specific consideration of the height of > the notehead glyph itself. > > 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 / Managing Director: Andreas Stelling > Managing Director: Kazunori Kobayashi, Hiroshi Sasaki > 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]> > ############################################################# 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]> |
Free forum by Nabble | Edit this page |