accidental arrangement should depend on tightness of music
Originally created by: janek.li...@gmail.com
depending on space available, accidentals should be placed more or less "dense".
For example two flats in sixth (and two sharps in sixth, too) should be aligned in one vertical line when they appear in a rapid succession of 32nds, while they shouldn't be aligned if there's plenty of whitespace before notes to which they apply.
Accidentals should be also placed tightly when they affect the first note after a barline (it is preferred to have first note in a measure as close to the barline as possible, within reason).
Attached "desired output.png" shows how the results might look like. Following are real engraving examples.
Related issues:
issue 2141
issue 2142
issue 2144
issue 2145
Original URL: https://sourceforge.net/p/testlilyissues/issues/2143