steinbergmedia / bravura

Bravura music font, reference font for SMuFL (Standard Music Font Layout)
SIL Open Font License 1.1
312 stars 38 forks source link

Inconsistent Vertical Alignment of SMuFL Time Signature Glyphs Across Various Meters #87

Open AminZahedSadeghi opened 4 days ago

AminZahedSadeghi commented 4 days ago

Misalignment Issue with SMuFL Time Signatures

I’m experiencing a misalignment issue when trying to create certain time signatures using SMuFL glyphs.

Example 1: 12/8 Time Signature

When rendering the 12/8 time signature, it displays correctly:

12/8

HTML code for 12/8:



Example 2: 10/8 Time Signature

However, when I change the time signature to 10/8, it becomes misaligned:

10/8

HTML code for 10/8:



Issue Summary:

Questions:

knutnergaard commented 4 days ago

Bravura's behaviour in this regard is based on ligature substitution, where typing in the individual characters in succession substitutes them with a separate ligature glyph representing the complete signature. Bravura does not have a ligature for 10/8, or any other multi-digit numerator signature except for 12/8, and so will not be able to display them correctly.

The best and only real solution, as far as I know, is to use/develop a font which supports the ligatures you need.