microsoft / font-tools

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

Tibetan overrides induce a dotted circle in ⟨ཧྲཱིཿ࿆⟩ #19

Open dscorbett opened 2 years ago

dscorbett commented 2 years ago

IndicSyllabicCategory-Additional.txt overrides U+0F7F TIBETAN SIGN RNAM BCAD to Consonant_Dead and U+0FC6 TIBETAN SYMBOL PADMA GDAN to Consonant_Final. That means that ⟨ཧྲཱིཿ࿆⟩ gets a dotted circle. Why are these overrides necessary?

xadxura commented 2 years ago

@dscorbett, the override for U+0F7F is needed to allow the Tibetan visarga to appear as an independent sign without a preceding syllable. This occurs not infrequently, sometimes after a line break, so visarga starts a new line, and sometimes it functions as a quasi-punctuation sign.

You're right, the override for U+0FC6 is unnecessary. It may date from a time when this sign was not included in ISC. However, this won't make a difference in the case of U+0F7F. The problem there is that the visarga is acting as a separate syllable. One can put the Padma before the visarga, but that is merely an ordering hack. I think this needs to go to SAH to be discussed.

In the meantime, I'll remove the redundant overrides for U+0F35, U+0F37, and U+0FC6.