Hi all, I’m having an issue with the vertical positioning of text items below the staff. I apologize beforehand for the long story but I couldn’t find any recent topics that covered these exact issues.
I’m using a custom Paragraph style for expression marks and I’ve set the vertical positions in Engraving options > Text fairly narrow: Default distance from staff set to 1 space and Minimum distance from protruding items to 1/2 space, with Avoid collisions turned on.
As long as I place a text item above the staff everything is fine but when I flip text below the staff, this happens:
The position of a text item when flipped below the staff seems to be measured from the text item’s baseline without accounting for the height of the text itself. This issue has already been pointed out in 2020 but I wasn’t able to find more recent topics about this. With the Default distance from staff set to 1 space this leads to the text snapping to the staff line, even though Avoid collisions is turned on. This is what my main question is about: is any change to be expected in the way the vertical position of text items is determined (i.e. will the Default distance to staff apply to text items above and below the staff in the same way?).
Secondly, in the second bar the collision avoidance does seem to take effect, even though the only possible collision is to the staff itself and not to any notes or other items (note that I set the Minimum distance from protruding items even tighter than the distance to the staff). Still, moving the notes from bar 1 down by a space seems to make Dorico aware of a collision. However, increasing the Minimum distance from protruding items only has an effect on bar 2, but not on bar 1, even when setting that minimum distance way higher than the distance between the stems and text in the first bar:
I’m trying to wrap my head around this because I want to avoid making manual changes to these text items as much as possible, but I can’t really seem to figure out how this distance is determined. Any thoughts?