2009/9/28 Graham Percival <gra...@percival-music.ca>:

> If you can make these, or give me exact instructions on how to
> generate them myself, I will be delighted to do so.  :)
> I have tons of horsepower at my disposal; the only thing that
> (should be) lacking is time.

OK, here's a patch which reinstates the relevant \paper settings; all
that's required is to apply it after checking out 2.13.4.

Cheers,
Neil
From 9cd6ccd403d28e22b4110981410f54ab2598e69c Mon Sep 17 00:00:00 2001
From: Neil Puttock <n.putt...@gmail.com>
Date: Tue, 29 Sep 2009 17:36:15 +0100
Subject: [PATCH] Revert lilypond-book \paper changes for testing.

---
 scripts/lilypond-book.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py
index 6abbe53..92ad80e 100644
--- a/scripts/lilypond-book.py
+++ b/scripts/lilypond-book.py
@@ -272,6 +272,7 @@ TEXIDOC = 'texidoc'
 TEXINFO = 'texinfo'
 VERBATIM = 'verbatim'
 VERSION = 'lilypondversion'
+FONTLOAD = 'fontload'
 FILENAME = 'filename'
 ALT = 'alt'
 
@@ -599,6 +600,7 @@ simple_options = [
     TEXIDOC,
     LANG,
     VERBATIM,
+    FONTLOAD,
     FILENAME,
     ALT,
     ADDVERSION
@@ -828,6 +830,8 @@ PREAMBLE_LY = '''%%%% Generated by %(program_name)s
 %(preamble_string)s
 
 \paper {
+  #(define dump-extents #t)
+  %(font_dump_setting)s
   %(paper_string)s
   force-assignment = #""
   line-width = #(- line-width (* mm  %(padding_mm)f))
@@ -1214,6 +1218,9 @@ class LilypondSnippet (Snippet):
         notes_string = '\n  '.join (compose_dict[NOTES]) % vars ()
         preamble_string = '\n  '.join (compose_dict[PREAMBLE]) % override
         padding_mm = global_options.padding_mm
+        font_dump_setting = ''
+        if FONTLOAD in self.option_dict:
+            font_dump_setting = '#(define-public force-eps-font-include #t)\n'
 
         d = globals().copy()
         d.update (locals())
-- 
1.6.0.4

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to