- Real pad = 2* h;
-
- if (ri->internal_has_interface (ly_symbol2scm ("lyric-syllable-interface")))
- right_point = right_point <? (ri->extent (common, X_AXIS)[LEFT] - pad);
- else if (Note_head::has_interface (ri))
- ;
- else if (!last_line)
- /* run to end of line. */
- right_point = right_point >? (ri->extent (common, X_AXIS)[LEFT] - pad);
-
- if (isinf (right_point))
- {
- programming_error ("Right point of extender not defined?");
- right_point = ri->relative_coordinate (common, X_AXIS);
- }
+ Drul_array<Real> paddings (robust_scm2double (me->get_property ("left-padding"), h),
+ robust_scm2double (me->get_property ("right-padding"), h));