AMNS / Nightingale

Nightingale music notation software.
Mozilla Public License 2.0
11 stars 3 forks source link

Ngale sometimes leaves way too much space at the beginning of a system #183

Open donbyrd opened 4 years ago

donbyrd commented 4 years ago

Occasionally and for no obvious reason, Nightingale sometimes leaves way too much space at the beginning of a system after the clef and (if there is one) key signature. An example is m. 35 of David Alpher's "Please come home-s of france 2". Respace doesn't help because you can't respace the beginning of a system, before its first measure. Reformat does, but it's usually a disaster if there are hidden staves, regardless of space at the beginning of a system.

donbyrd commented 4 years ago

DoOpenKeysig() contains code to "update the space before the initial Measure" of a System; the heart of it is a call to FixInitialKSxds().

donbyrd commented 4 years ago

FixInitialKSxds simply adjusts the space to compensate for a change to the key signature, assuming the previous space, was correct, so it's no help. But I've made the Respace command let the user explicitly set the space before the initial Measure if the selection is a single object -- a clef or key signature -- before the Measure, and that's a pretty good workaround, so this bug is no longer a serious problem.