|
|
|
@ -632,7 +632,7 @@ _populate_gids_to_retain (hb_subset_plan_t* plan, |
|
|
|
|
&plan->gsub_lookups, |
|
|
|
|
&plan->gsub_features, |
|
|
|
|
&plan->gsub_langsys, |
|
|
|
|
plan->gsub_feature_record_cond_idx_map, |
|
|
|
|
&plan->gsub_feature_record_cond_idx_map, |
|
|
|
|
plan->gsub_feature_substitutes_map); |
|
|
|
|
|
|
|
|
|
if (!drop_tables->has (HB_OT_TAG_GPOS)) |
|
|
|
@ -642,7 +642,7 @@ _populate_gids_to_retain (hb_subset_plan_t* plan, |
|
|
|
|
&plan->gpos_lookups, |
|
|
|
|
&plan->gpos_features, |
|
|
|
|
&plan->gpos_langsys, |
|
|
|
|
plan->gpos_feature_record_cond_idx_map, |
|
|
|
|
&plan->gpos_feature_record_cond_idx_map, |
|
|
|
|
plan->gpos_feature_substitutes_map); |
|
|
|
|
#endif |
|
|
|
|
_remove_invalid_gids (&plan->_glyphset_gsub, plan->source->get_num_glyphs ()); |
|
|
|
@ -857,9 +857,6 @@ hb_subset_plan_create_or_fail (hb_face_t *face, |
|
|
|
|
plan->reverse_glyph_map = hb_map_create (); |
|
|
|
|
plan->glyph_map_gsub = hb_map_create (); |
|
|
|
|
|
|
|
|
|
plan->check_success (plan->gsub_feature_record_cond_idx_map = hb_hashmap_create<unsigned, hb::shared_ptr<hb_set_t>> ()); |
|
|
|
|
plan->check_success (plan->gpos_feature_record_cond_idx_map = hb_hashmap_create<unsigned, hb::shared_ptr<hb_set_t>> ()); |
|
|
|
|
|
|
|
|
|
plan->check_success (plan->gsub_feature_substitutes_map = hb_hashmap_create<unsigned, const OT::Feature*> ()); |
|
|
|
|
plan->check_success (plan->gpos_feature_substitutes_map = hb_hashmap_create<unsigned, const OT::Feature*> ()); |
|
|
|
|
|
|
|
|
|