Originally created by: *anonymous
Originally created by: RalphBug...@gmail.com
Xavier Scheuer wrote:
\override Hairpin #'minimum-length = #8 does not take into account the
fact that a hairpin can be shortened by the presence of a DynamicText.
"minimum-length" is applied not the real length of the hairpin, but to
the length of the hairpin **if it would not have been shortened by the
presence of a dynamic**. IMHO it should apply to the _real length_ of
the hairpin (the printed one!), even if it is a "shortened hairpin"
(hey, it is usually these "shortened hairpins" that we —the users— want
to lengthen when we \override Hairpin #'minimum-length !!).
It is not easy to explain this, I hope the following code will help you
to understand better what I mean.
%%%% Snippet
\version "2.15.24"
\relative c' {
c1\< |
c\mf |
\override Hairpin #'minimum-length = #8
c\> |
% this "shortened" (due to the presence of the DynamicText) hairpin
% does not have a _real_ minimum-length of #8 !
c1\ppp\<^"too short!" |
\override Hairpin #'minimum-length = #12
c\fff\> |
c\> |
\revert Hairpin #'minimum-length
c\mf\> |
c\p
}
%%%% End of snippet
Originally posted by: x.sche...@gmail.com
Actually this issue applies to every spanner (not only Hairpin).
IIUC Han-Wen's comment here
https://code.google.com/p/lilypond/issues/detail?id=14#c6
the 'minimum-length property is defined by the horizontal distance
between the moment the spanner starts and the moment it ends.
It does not take into account grobs taking horizontal space at
"spanner start" or "spanner end", and thus reducing the real length of
the spanner object (like notehads reducing Tie or DynamicText reducing
hairpin's real length).
Users want a property to define the _real_ minimum length of a spanner
grob, the same way they want the spanners to be printed even if the
horizontal distance between "spanner start" and "spanner end" is
shorter than the real length of the spanner grob (or at least yell a
warning, see issue 1089).