lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: naming a glyph


From: Torsten Hämmerle
Subject: Re: naming a glyph
Date: Sun, 20 May 2018 02:01:12 -0700 (MST)

Freeman Gilmore wrote
> ​Where are the rules for naming a glyph located?


The naming conventions for glyph names can be found in mf/README:


mf/README wrote

> Glyph name rules

> 
> Most glyph names have the form 
> <group>
> .
> <name>
> , where 
> <group>
>  is defined with the 'fet_begingroup' command, and 
> <name>
>  is given with 'fet_beginchar' (within a 'fet_begingroup' block).
> Example: 'clefs.vaticana.fa'.
> 
> Sometimes it would be sensible to use negative numbers in glyph names. 
> However, the '-' character shouldn't be used in a glyph name.  Replace it
> with 'M'.  For example, write 'rests.M3mensural' instead of
> 'rests.-3mensural'.
> 
> Glyphs that exist in both an 'up' and 'down' version should start the 
> <name>
>  part with either 'u' or 'd', respectively.  Example: 'flags.d3',
> 'flags.u3'.  Glyphs that are neutral w.r.t. the direction, and where
> members of the glyph group exist that have 'up' and 'down' versions,
> should start with an 's'.  
> Example: 'noteheads.s0re'.


All the Emmentaler glyph names can be found in the  LilyPond Notation
Reference: Appendix A.8 - The Emmentaler font
<http://lilypond.org/doc/v2.19/Documentation/notation/the-emmentaler-font.html> 
 

You can generate a list of all the Emmentaler glyph names using the scheme
function ly:otf-glyph-list:

  #(pretty-print (ly:otf-glyph-list (ly:system-font-load "emmentaler-20")))


HTH,
Torsten





--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]