]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add lists for possible font encodings
authorPatrick McCarty <pnorcks@gmail.com>
Fri, 24 Jul 2009 18:30:19 +0000 (11:30 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Sun, 26 Jul 2009 03:35:38 +0000 (20:35 -0700)
Currently, there is no central location for all of the font encoding
values LilyPond uses.

This patch creates two new procedures, one that returns a list of all
encodings used for LilyPond's music fonts (Emmentaler and Aybabtu),
and one that returns a list of the encodings used for all other fonts
(currently, latin1).

scm/font.scm

index 434e46a6088a1b0753fb999d4d29cd1dc40c5860..3d30e4569595cd5a2e76cd119fa51d38e81f620b 100644 (file)
     "Century Schoolbook L,serif"
     "sans-serif" "monospace" factor))
 
     "Century Schoolbook L,serif"
     "sans-serif" "monospace" factor))
 
+(define-public all-text-font-encodings
+  '(latin1))
+
+(define-public all-music-font-encodings
+  '(fetaBraces
+    fetaDynamic
+    fetaMusic
+    fetaNumber))
+
 (define-public (magstep s)
   (exp (* (/ s 6) (log 2))))
 
 (define-public (magstep s)
   (exp (* (/ s 6) (log 2))))