]> git.donarmstrong.com Git - lilypond.git/commit
Allow independent adjustment of minimum length for spanner siblings
authorDavid Nalesnik <david.nalesnik@gmail.com>
Wed, 4 Feb 2015 20:07:01 +0000 (14:07 -0600)
committerDavid Nalesnik <david.nalesnik@gmail.com>
Sat, 14 Feb 2015 14:54:15 +0000 (08:54 -0600)
commit3668bac590386ed98cf517d7bd71f79ae35abbc4
treeb8d063ed5f8dc84d7909b27cb42c4b2d19ed84b8
parenta32b19f4716ca1184fa1dc837927baba96773bff
Allow independent adjustment of minimum length for spanner siblings

The property minimum-length does not allow independent adjustment
of the siblings of broken spanners.  This patch adds a property,
minimum-length-after-break, which, if set, behaves similarly to minimum-length,
but only affects siblings starting a line.  If minimum-length-after-break is
unset, minimum-length still controls all lengths.

A regtest demonstrates usage of the new property with a number of spanners.
Another regtest demonstrates usage and compatibility of minimum-distance
and minimum-distance-after-break.
input/regression/minimum-length-after-break.ly [new file with mode: 0644]
input/regression/minimum-length-broken-ties.ly [new file with mode: 0644]
lily/spanner.cc
scm/define-grob-properties.scm