From e0475345d5d7db8dbc8b554beedfa2435c5d7fd1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 19 Jul 2012 20:24:14 -0400 Subject: [PATCH] [Indic] Apply 'akhn' globally Fixes 1.5% more failures for Telugu, 2% for Kannada. Breaks one test in Devanagari. --- src/hb-ot-shape-complex-indic.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 0b4910d5a..5b842b887 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -309,7 +309,7 @@ static const feature_list_t indic_basic_features[] = { {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','k','r','f'), true}, {HB_TAG('p','r','e','f'), false}, @@ -325,7 +325,7 @@ indic_basic_features[] = /* Same order as the indic_basic_features array */ enum { _NUKT, - AKHN, + _AKHN, RPHF, _RKRF, 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]; /* 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++) info[i].mask |= mask; /* Base */ - mask = basic_mask_array[AKHN] | basic_mask_array[CJCT]; + mask = basic_mask_array[CJCT]; if (base < end) info[base].mask |= mask; /* Post-base */