Line height issues with lyrics with different odd/even formatting

• May 2, 2019 - 18:46
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
active
Regression
Yes
Workaround
Yes
Project

Version: 3.0.5

Create a score with the Lyrics Odd font set to Gentium 12pt Italic, and the Lyrics Even font set to Gentium 11pt Upright.

The second verse (of three) is too high, and I cannot even change offsets to make it match.

Score on request, privately (can’t share it online).


Comments

Ah, I’ve got it: the Y position of the lyrics is calculated, for each line, by no times the line height times the current font size, not taking into account that the lines above or below can have a different font height.

Workaround No Yes

I can now (3.2.3) set per-line individual offsets to work around this, by changing the Y offset of the affected lyrics (per verse and stave!) from 3 sp to something like 3.1 sp, 3.25 sp, 3.3 sp (depending on the stave’s lyrics in all verses).

I don’t think so; the problem is that the position of lyric line x is calculated as x times the height of line x, not the sum of the heights of lines 1, 2, …, x.