breakable items after uniformly stretched notes.
2006-03-15 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/spacing-spanner.cc (musical_column_spacing): crude fix for
+ breakable items after uniformly stretched notes.
+
* lily/tie-formatting-problem.cc (set_chord_outline): initialize
outline with outer edge of note heads. This prevents infinity
problems with tied whole notes.
Real compound_fixed_note_space = 0.0;
if (options->stretch_uniformly_)
- compound_note_space = base_note_space;
+ {
+ compound_note_space = base_note_space;
+
+ if (!Paper_column::is_musical (right_col))
+ {
+ /*
+ Crude fix for notes that lead up to barlines and time sigs.
+ */
+ Interval lext = right_col->extent (right_col, X_AXIS);
+ if (!lext.is_empty ())
+ compound_note_space += -lext[LEFT];
+ }
+
+ }
else
{
int wish_count = 0;