]> git.donarmstrong.com Git - lilypond.git/commitdiff
(print): robustify.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 22 Sep 2004 21:42:20 +0000 (21:42 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 22 Sep 2004 21:42:20 +0000 (21:42 +0000)
ChangeLog
lily/dot-column-engraver.cc
lily/piano-pedal-bracket.cc

index e8bafe89ab8287191d8b5aa575038278dd3cc85f..1f5c961736fa1d2e89aee2ed079a1d603885f441 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-22  Han-Wen Nienhuys   <hanwen@xs4all.nl>
+
+       * lily/piano-pedal-bracket.cc (print): robustify.
+
 2004-09-22  Pedro Kroger  <kroeger@pedrokroeger.net>
 
        * scm/paper.scm (set-paper-dimensions): add printfirstpagenumber.
index 61e4323e07fe9e029c20cde5fe7f15ea85a969a0..2d4b6ea4d0c2653b790cfd13e27b05aa7695fd99 100644 (file)
@@ -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 */     "",
index 600310cdb0d75d35bd4d88b3af76453c0500f214..e1c07623e4bf9193f61a76c11fa5ad5a7f02a9a6 100644 (file)
@@ -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 ;