lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hairpin followed by text crescendo is too long


From: Neil Puttock
Subject: Re: hairpin followed by text crescendo is too long
Date: Mon, 31 Aug 2009 21:51:56 +0100

2009/8/31 Reinhold Kainhofer <address@hidden>:
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]