[Indic] Reposition Gurmukhi top matras to after post

The font is forming a post-base consonant in some samples, and Uniscribe
positions top matra on the post-base.  Do the same.

Gurmukhi failures down from 59 to 41 (0.0674242%).
This commit is contained in:
Behdad Esfahbod 2012-07-24 13:48:49 -04:00
parent c3f769ba09
commit 6411e74caf
2 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,7 @@ consonant_position (hb_codepoint_t u, hb_ot_map_t *map, hb_font_t *font)
)
#define MATRA_POS_TOP(u) ( /* BENG and MLYM don't have top matras. */ \
IS_DEVA(u) ? POS_AFTER_SUB : \
IS_GURM(u) ? POS_AFTER_SUB : \
IS_GURM(u) ? POS_AFTER_POST : /* Deviate from spec */ \
IS_GUJA(u) ? POS_AFTER_SUB : \
IS_ORYA(u) ? POS_AFTER_MAIN : \
IS_TAML(u) ? POS_AFTER_SUB : \

View File

@ -1 +1,2 @@
ਕ੍ਹ
ਤ੍ਯੋ