[Indic] Apply 'akhn' globally
Fixes 1.5% more failures for Telugu, 2% for Kannada. Breaks one test in Devanagari.
This commit is contained in:
parent
c87bcddb10
commit
e0475345d5
|
@ -309,7 +309,7 @@ static const feature_list_t
|
||||||
indic_basic_features[] =
|
indic_basic_features[] =
|
||||||
{
|
{
|
||||||
{HB_TAG('n','u','k','t'), true},
|
{HB_TAG('n','u','k','t'), true},
|
||||||
{HB_TAG('a','k','h','n'), false},
|
{HB_TAG('a','k','h','n'), true},
|
||||||
{HB_TAG('r','p','h','f'), false},
|
{HB_TAG('r','p','h','f'), false},
|
||||||
{HB_TAG('r','k','r','f'), true},
|
{HB_TAG('r','k','r','f'), true},
|
||||||
{HB_TAG('p','r','e','f'), false},
|
{HB_TAG('p','r','e','f'), false},
|
||||||
|
@ -325,7 +325,7 @@ indic_basic_features[] =
|
||||||
/* Same order as the indic_basic_features array */
|
/* Same order as the indic_basic_features array */
|
||||||
enum {
|
enum {
|
||||||
_NUKT,
|
_NUKT,
|
||||||
AKHN,
|
_AKHN,
|
||||||
RPHF,
|
RPHF,
|
||||||
_RKRF,
|
_RKRF,
|
||||||
PREF,
|
PREF,
|
||||||
|
@ -687,11 +687,11 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff
|
||||||
info[i].mask |= basic_mask_array[RPHF];
|
info[i].mask |= basic_mask_array[RPHF];
|
||||||
|
|
||||||
/* Pre-base */
|
/* Pre-base */
|
||||||
mask = basic_mask_array[HALF] | basic_mask_array[AKHN] | basic_mask_array[CJCT];
|
mask = basic_mask_array[HALF] | basic_mask_array[CJCT];
|
||||||
for (unsigned int i = start; i < base; i++)
|
for (unsigned int i = start; i < base; i++)
|
||||||
info[i].mask |= mask;
|
info[i].mask |= mask;
|
||||||
/* Base */
|
/* Base */
|
||||||
mask = basic_mask_array[AKHN] | basic_mask_array[CJCT];
|
mask = basic_mask_array[CJCT];
|
||||||
if (base < end)
|
if (base < end)
|
||||||
info[base].mask |= mask;
|
info[base].mask |= mask;
|
||||||
/* Post-base */
|
/* Post-base */
|
||||||
|
|
Loading…
Reference in New Issue