From: Han-Wen Nienhuys Date: Wed, 22 Sep 2004 21:42:20 +0000 (+0000) Subject: (print): robustify. X-Git-Tag: release/2.3.19~27 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=335ac4c1568d57b71d37d31c0014169899a09a53;p=lilypond.git (print): robustify. --- diff --git a/ChangeLog b/ChangeLog index e8bafe89ab..1f5c961736 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-09-22 Han-Wen Nienhuys + + * lily/piano-pedal-bracket.cc (print): robustify. + 2004-09-22 Pedro Kroger * scm/paper.scm (set-paper-dimensions): add printfirstpagenumber. diff --git a/lily/dot-column-engraver.cc b/lily/dot-column-engraver.cc index 61e4323e07..2d4b6ea4d0 100644 --- a/lily/dot-column-engraver.cc +++ b/lily/dot-column-engraver.cc @@ -74,7 +74,7 @@ Dot_column_engraver::acknowledge_grob (Grob_info info) ENTER_DESCRIPTION (Dot_column_engraver, -/* descr */ " Engraves dots on dotted notes shifted to the right of the note.\n" +/* descr */ "Engraves dots on dotted notes shifted to the right of the note.\n" "If omitted, then dots appear on top of the notes.", /* creats*/ "DotColumn", /* accepts */ "", diff --git a/lily/piano-pedal-bracket.cc b/lily/piano-pedal-bracket.cc index 600310cdb0..e1c07623e4 100644 --- a/lily/piano-pedal-bracket.cc +++ b/lily/piano-pedal-bracket.cc @@ -57,7 +57,7 @@ Piano_pedal_bracket::print (SCM smob) flare[d] = 0.0; } - Interval ext = b->extent (common, X_AXIS); + Interval ext = robust_relative_extent (b, common, X_AXIS); span_points[d] = ext [broken[d] ? RIGHT : LEFT]; } while (flip (&d) != LEFT); @@ -73,7 +73,7 @@ Piano_pedal_bracket::print (SCM smob) Real padding = robust_scm2double (me->get_property ("bound-padding"), 0); span_points[LEFT] = padding - + textbit->extent (common, X_AXIS)[RIGHT]; + + robust_relative_extent (textbit, common, X_AXIS)[RIGHT]; } Stencil m ;