Skip to content

Vertically positioned symbols do not blend well with non-vertically positions ones #89

@pissalou

Description

@pissalou

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:

AGFE

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:
AGBE
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions