spanners into account for staff-extents.
2004-09-06 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/system.cc (get_line): don't take piano-pedal & dynamic line
+ spanners into account for staff-extents.
+
* lily/ottava-bracket.cc (print): take common refpoint of dots
into account as well.
if (i == 0
&& Axis_group_interface::has_interface (g)
&& !Align_interface::has_interface (g)
- && dynamic_cast<Spanner*> (g))
+ && dynamic_cast<Spanner*> (g)
+ /*
+ UGH.
+ */
+ && !g->internal_has_interface (ly_symbol2scm ("dynamic-interface"))
+ && !g->internal_has_interface (ly_symbol2scm ("piano-pedal-interface"))
+ )
{
staff_refpoints.add_point (g->relative_coordinate (this, Y_AXIS));
}
(cdr result)))
)
- (if #f ;; debug.
+ (if #t ;; debug.
(begin
(display (list "\n# systems: " no-systems
"\nreal-ext" real-extents "\nstaff-ext" staff-extents