microsoft / font-tools

Font tools to support development of OpenType fonts.
MIT License
57 stars 14 forks source link

Redundant override for Kharosthi nukta signs #26

Closed xadxura closed 2 years ago

xadxura commented 2 years ago

10A38..10A3A ; Nukta # Mn [3] KHAROSHTHI SIGN BAR ABOVE..KHAROSHTHI SIGN DOT BELOW

xadxura commented 2 years ago

The Kharoshthi nuktas U+10A38..U+10A3A all have different canonical combining classes such that the canonical order is <U+10A39, U+10A3A, U+10A38>. However, U+10A38 is a CMAbv, so USE requires it to precede other nuktas. When it is used with another nukta, canonicalizing the input induces a dotted circle, as in https://github.com/harfbuzz/harfbuzz/issues/3550. The solution is to classify U+10A38 as CMBlw by overriding its Indic_Positional_Category to Bottom

https://github.com/microsoft/font-tools/issues/27