]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/piano-pedal-bracket.cc
* scripts/abc2ly.py (dump_slyrics): add ord().
[lilypond.git] / lily / piano-pedal-bracket.cc
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 ;