-
Notifications
You must be signed in to change notification settings - Fork 44
Description
I am developing an educational software and trying to display melodies using BravuraText v1.393. Using staff positioning glyphs, I am able to display notes on a staff properly using only unicode characters thanks to ligatures:

Unicode character sequence : ‘staff5LinesWide’, ‘gClef’, ‘staff5LinesNarrow’, ‘-’, ‘staff5LinesWide’, ‘timeSigCombNumerator’, ‘timeSig4’, ‘timeSigCombDenominator’, ‘timeSig4’, ‘=’, ‘-’, ‘staff5LinesWide’, ‘staffPosLower1’, ‘noteQuarterUp’, ‘=’, ‘-’, ‘staff5LinesWide’, ‘staffPosLower2’, ‘noteQuarterUp’, ‘=’, ‘-’, ‘staff5LinesWide’, ‘staffPosLower3’, ‘noteQuarterUp’, ‘=’, ‘-’, ‘staff5LinesWide’, ‘staffPosLower4’, ‘noteQuarterUp’, ‘=’, ‘-’.
If I change a note in a melody to a B4 (the one note without any positioning glyph in that clef) the notes are not spaced evenly on the horizontal axis anymore and a gap appears between B4 and the next note:

Unicode character sequence: ‘staff5LinesWide’, ‘gClef’, ‘staff5LinesNarrow’, ‘-’, ‘staff5LinesWide’, ‘timeSigCombNumerator’, ‘timeSig4’, ‘timeSigCombDenominator’, ‘timeSig4’, ‘=’, ‘-’, ‘staff5LinesWide’, ‘staffPosLower1’, ‘noteQuarterUp’, ‘=’, ‘-’, ‘staff5LinesWide’, ‘staffPosLower2’, ‘noteQuarterUp’, ‘=’, ‘-’, ‘staff5LinesWide’, ‘noteQuarterUp’, ‘=’, ‘-’, ‘staff5LinesWide’, ‘staffPosLower4’, ‘noteQuarterUp’, ‘=’, ‘-’.
Examples are rendered using the text renderer in Qt 6.5 but I also seen the same behaviour using MS Wordpad.
Is this a limitation, a bug in the ligature tables or just me who missed something in the documentation on how to use those glyphs?