2009/8/31 Reinhold Kainhofer <[email protected]>:
> Attached is an example where a hairpin, which is immediately followed by a
> text crescendo, is too long.
> if a hairpin is followed by another hairpin, it is shortened (to the middle of
> the note instead of the end), but this does not happen for text crescendi.

I think the problem here is that the hairpin can't see the left
bound-detail of the next spanner: unlike adjacent hairpins or text
dynamics, all it knows about the right bound is that it's a
NoteColumn.

A simple solution would be to rename 'adjacent-hairpins to something
like `adjacent-spanners', add DynamicTextSpanner grobs to this in
New_dynamic_engraver, then apply the bound-padding in Hairpin::print
to text spans in the same manner as is done for dynamic scripts and
neighbouring hairpins.

I'll have a patch ready once I've done a regtest check.

Regards,
Neil


_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to