notofonts / kaithi

Noto Kaithi
SIL Open Font License 1.1
1 stars 3 forks source link

Problems with ZWJ in Kaithi #16

Closed dscorbett closed 4 years ago

dscorbett commented 5 years ago

Font

NotoSansKaithi-Regular.ttf

Where the font came from, and when

Site: https://github.com/googlei18n/noto-fonts/blob/c30307083469f0c05e216ac75216fd454a517858/unhinted/NotoSansKaithi-Regular.ttf Date: 2019-02-02

Font version

Version 2.000

Issue

Noto Sans Kaithi in HarfBuzz has problems with U+200D ZERO WIDTH JOINER. It doesn’t force consonant conjuncts to use half forms, and it interferes with the placement of marks. This is because HarfBuzz clears F_MANUAL_ZWJ for 'ccmp' and sets it for 'mark'. The easiest fix is to use 'akhn' or 'cjct' instead of 'ccmp' and 'abvm' or 'blwm' instead of 'mark'.

Character data

𑂍𑂹‍𑂍𑂀 U+1108D KAITHI LETTER KA U+110B9 KAITHI SIGN VIRAMA U+200D ZERO WIDTH JOINER U+1108D KAITHI LETTER KA U+11080 KAITHI SIGN CANDRABINDU

Screenshot

𑂍𑂹‍𑂍𑂀 The correct rendering: 𑂍𑂹‍𑂍𑂀 Cf. the already accurate rendering without ZWJ: 𑂍𑂹𑂍𑂀

marekjez86 commented 4 years ago

should be fixed in OTF: https://github.com/googlefonts/noto-fonts/tree/master/phaseIII_only/unhinted/otf/NotoSansKaithi and TTF: https://github.com/googlefonts/noto-fonts/tree/master/phaseIII_only/unhinted/ttf/NotoSansKaithi