pravins / lohit2

Rewriting lohit open type tables
Other
10 stars 10 forks source link

"iisign anusvara" changes to "iisign ra virama anusvara" after ka and pha #42

Open snjykhtr opened 2 years ago

snjykhtr commented 2 years ago

when typing: kadeva iisign anusvara displays incorrect glyph iisign_ra_virama_anusvara.alt1 instead of iisigndeva_anusvaradeva.alt1.

Examples of incorrect rendering:

कीं -> र्कीं फीं -> र्फीं

Need to replace: iisign_ra_virama_anusvara.alt1 with iisigndeva_anusvaradeva.alt1 in line #443 in Lohit Devanagari.fea file as given below

lookup PstsSub_Chain_ExtdEMatra { lookupflag 0; sub [\rvocalicdeva \kadeva \phadeva \qadeva \fadeva \rrvocalicdeva \phadeva_radeva_nuktadeva \phadeva_viramadeva_radeva \kadeva_viramadeva_kadeva \kadeva_viramadeva_tadeva \kadeva_viramadeva_ladeva \kadeva_viramadeva_vadeva \phadeva_viramadeva_ladeva ] [\iisigndeva \iisigndeva_anusvaradeva \iisigndeva_ra_virama \iisign_ra_virama_anusvara ]' by [\iisigndeva.alt1 \iisigndeva_anusvaradeva.alt1 \iisigndeva_ra_virama.alt1
\iisign_ra_virama_anusvara.alt1 ]; } PstsSub_Chain_ExtdEMatra;