Too much space between accidental and note with seconds in offset downstem voice

• Apr 8, 2014 - 05:36
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Windows 7, GIT commit: ef4c692

See image:

accidental-note-space.png

The highlighted note is the cause of the problem. The code is seeing the displacement on that note relative to the offset downstem chord and mistaking that for a note that actually sticks out to the left of the non-offset upstem notes. The fix will involve calculating segment-relative x positions for notes (rather than simply using the chord-relative x position) when calculating starting x position for accidentals.

With any luck, this fix will come for free with the change I am making in the algorithm for centering whole notes and breves (centering the chord rather than just individual notes). But I'm opening the issue so I can remember to come back and look at this later if I'm wrong about that.

Attachment Size
accidental-note-space.png 1.37 KB

Comments