Systems can overlap (by same amount that staves *don't*)

• Dec 2, 2018 - 15:01
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project

When there are text and notes above one system and also below the system above it, the systems may overlap and auto avoidance does not take this into consideration as can be seen in this picture:

System overlap.PNG

which was taken of mm 62 & 68 of Beethoven String Quartet Op 131.mscz which is included for examination. The only changes I made to the default laoyout were to the Y offset for dynamics and hairpins (I reduced them because I think the default puts them too far from the staff).

You can of course change settings to prevent such overlaps, but the problem is that auto avoidance does well in adjusting staff distance, it fails in adjusting system distance.


Comments

Title Systems overlap Systems can overlap (by same amount that staves *don't*)
Priority P1 - High

This is interesting - from what I can tell, it is adjusting the system distance (try lowering the "dim---" a bit (say, 4sp as vertical offset) and you'll see it does push the next system down, but there is a slight overlap. As I test different combinations to see what is going on, I am led to one conclusion: the algorithm is trying to leave a certain amount of space - around 0.5sp I guess - between systems, but actually leaving -0.5sp of overlap between systems. Could be it as simple as getting the sign wrong in the calculation - eg, trying to leave 0.5sp separation but actually leaving -0.5sp?

Check it out, here is the spacing algorithm leaving around 0.5sp separation between staves:

staff-separation.png

and here it is leaving around the same amount of overlap between systems:

system-separation.png