Remove unused code from the Khmer shaper.

This commit is contained in:
Evgeniy Reizner 2020-07-23 11:48:19 +03:00 committed by Ebrahim Byagowi
parent f9ac6ddbef
commit b32f2e8b49
1 changed files with 0 additions and 4 deletions

View File

@ -161,8 +161,6 @@ struct khmer_shape_plan_t
mutable hb_codepoint_t virama_glyph;
hb_indic_would_substitute_feature_t pref;
hb_mask_t mask_array[KHMER_NUM_FEATURES];
};
@ -175,8 +173,6 @@ data_create_khmer (const hb_ot_shape_plan_t *plan)
khmer_plan->virama_glyph = (hb_codepoint_t) -1;
khmer_plan->pref.init (&plan->map, HB_TAG('p','r','e','f'), true);
for (unsigned int i = 0; i < ARRAY_LENGTH (khmer_plan->mask_array); i++)
khmer_plan->mask_array[i] = (khmer_features[i].flags & F_GLOBAL) ?
0 : plan->map.get_1_mask (khmer_features[i].tag);