I would like to share the progress I have made with the display of divisi-parts. Those are when there are two voices sharing the same staff:
At the beginning, the two voices were not aware of each other, not avoiding to collide with one another.
A first improvement has been by shifting the rests that were colliding with the other voice:
But today, we made a huge improvement: now notes are also trying to avoid the collision. The typographic rules are a little bit tricky, I would like to take some time to explain it to you.
Here is the simple case. If two notes would collide, we shift them.
The shift is less important if there is only half a space between the notes.
If the notes share the same line, there are some cases when we do not need to shift them. This is when the notes are both black, with the same amount of dots, and with no accidentals.
If some notes are too close, we need to increase the shift.
If the left note has a dot, or if the right note has accidentals, we need to revert the notes.
That's it for now. I hope you will enjoy this improvement in the engraving. Let us you have any feedback on it.
Here is a gleams on how it could look on a real score:
Cyril & The Flat Team