[Indic] Apply Above Forms

This commit is contained in:
Behdad Esfahbod 2012-07-16 12:05:35 -04:00
parent fa2bd9fb63
commit 29f106d7fb
1 changed files with 3 additions and 1 deletions

View File

@ -129,6 +129,7 @@ indic_basic_features[] =
{HB_TAG('p','r','e','f'), false}, {HB_TAG('p','r','e','f'), false},
{HB_TAG('b','l','w','f'), false}, {HB_TAG('b','l','w','f'), false},
{HB_TAG('h','a','l','f'), false}, {HB_TAG('h','a','l','f'), false},
{HB_TAG('a','b','v','f'), false},
{HB_TAG('p','s','t','f'), false}, {HB_TAG('p','s','t','f'), false},
{HB_TAG('c','j','c','t'), false}, {HB_TAG('c','j','c','t'), false},
{HB_TAG('v','a','t','u'), true}, {HB_TAG('v','a','t','u'), true},
@ -143,6 +144,7 @@ enum {
PREF, PREF,
BLWF, BLWF,
HALF, HALF,
ABVF,
PSTF, PSTF,
CJCT, CJCT,
VATU VATU
@ -473,7 +475,7 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff
mask = mask_array[AKHN] | mask_array[CJCT]; mask = mask_array[AKHN] | mask_array[CJCT];
info[base].mask |= mask; info[base].mask |= mask;
/* Post-base */ /* Post-base */
mask = mask_array[BLWF] | mask_array[PSTF] | mask_array[CJCT]; mask = mask_array[BLWF] | mask_array[ABVF] | mask_array[PSTF] | mask_array[CJCT];
for (unsigned int i = base + 1; i < end; i++) for (unsigned int i = base + 1; i < end; i++)
info[i].mask |= mask; info[i].mask |= mask;
} }