]> git.donarmstrong.com Git - lilypond.git/commitdiff
(compose_ly): add fontload option
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 26 Feb 2005 13:15:03 +0000 (13:15 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 26 Feb 2005 13:15:03 +0000 (13:15 +0000)
scripts/lilypond-book.py

index 208942b11f1057d8e10c3938f2fff5cf3261f251..1d79460d15a4b5093085a1693787ff463e90bc3c 100644 (file)
@@ -679,7 +679,6 @@ def compose_ly (code, options, type):
        # environment for non-quoted snippets.
        override[EXAMPLEINDENT] = r'0.4\in'
        override[LINEWIDTH] = texinfo_linewidths['@smallbook']
-       override[FONTLOAD] = ''
        override.update (default_ly_options)
 
        option_list = []
@@ -756,7 +755,7 @@ def compose_ly (code, options, type):
          string.join (compose_dict[PREAMBLE], '\n  ') % override
 
         font_dump_setting = ''
-       if FONTLOAD in options.keys():
+       if FONTLOAD in options:
                font_dump_setting = '#(define-public force-eps-font-include #t)\n'
                                  
        return (PREAMBLE_LY + body) % vars ()