]> git.donarmstrong.com Git - lilypond.git/commitdiff
(process_music): kludge: add
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 21 Mar 2006 00:44:21 +0000 (00:44 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 21 Mar 2006 00:44:21 +0000 (00:44 +0000)
InstrumentName spanner to axis group of left bound. Fixes chopped
off instrument names in EPS images.

ChangeLog
lily/instrument-name-engraver.cc
scm/framework-ps.scm
stepmake/bin/add-html-footer.py

index e5bcd60abdd8038d6eb5cbd6ffc793b2be220cfc..3dfd33fb23000e4264a8443d7f9ed8fd26968644 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-03-21  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * lily/instrument-name-engraver.cc (process_music): kludge: add
+       InstrumentName spanner to axis group of left bound. Fixes chopped
+       off instrument names in EPS images.
+
        * input/regression/lyric-hyphen-retain.ly: elaborate explanation.
 
        * scripts/abc2ly.py (option_parser): update to 2.7.40
index f3f1d9018563401749235d16a143c62c8472e328..66ef592273fc371da3cc49f24657edd2a1522f77 100644 (file)
@@ -53,8 +53,10 @@ Instrument_name_engraver::process_music ()
          || Text_interface::is_markup (short_text))
        {
          text_spanner_ = make_spanner ("InstrumentName", SCM_EOL);
+         Grob *col = unsmob_grob (get_property ("currentCommandColumn"));
          text_spanner_->set_bound (LEFT,
                                    unsmob_grob (get_property ("currentCommandColumn")));
+         Axis_group_interface::add_element (col, text_spanner_);
          text_spanner_->set_property ("text", short_text);
          text_spanner_->set_property ("long-text", long_text);
        }
index 0e68240bd3eb89b1ad40439c1d8d5deea6c9f27f..01afebab023e149711773cfea1e1b9323ea6e46e 100644 (file)
         (port (ly:outputter-port outputter))
         (xext (ly:stencil-extent dump-me X))
         (yext (ly:stencil-extent dump-me Y))
+        (foo (display (list xext yext "\n")))
         (bbox
          (map
           (lambda (x)
index d406d3719a65a4e3bfc8f159047336f611220e18..ed45c0aaf01a5518cb24ea4ea6334eccd9406625 100644 (file)
@@ -55,7 +55,7 @@ built = r"""
 This page is for %(package_name)s-%(package_version)s (%(branch_str)s). <br>
 </font>
 <address><font size="-1">
-Report errors to &lt;<a href="%(mail_address_url)s">%(mail_address)s</a>&gt;.</font></address>
+Report errors to <a href="%(mail_address_url)s">%(mail_address)s</a>.</font></address>
 </p>
 </div>