[instancer] bug fix

This commit is contained in:
Qunxin Liu 2023-02-07 13:49:19 -08:00 committed by Behdad Esfahbod
parent 3fd9311649
commit 840e1b6b84
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ _GSUBGPOS_find_duplicate_features (const OT::GSUBGPOS &g,
const OT::Feature* other_f = &(g.get_feature (other_f_index)); const OT::Feature* other_f = &(g.get_feature (other_f_index));
if (feature_substitutes_map->has (other_f_index, &p)) if (feature_substitutes_map->has (other_f_index, &p))
f = *p; other_f = *p;
auto f_iter = auto f_iter =
+ hb_iter (f->lookupIndex) + hb_iter (f->lookupIndex)