[subset] Use glyphset gsub for layout variation indices collection.

This commit is contained in:
Garret Rieger 2020-10-06 10:26:17 -07:00
parent 718bf5aab3
commit aace09a3ad
1 changed files with 5 additions and 1 deletions

View File

@ -256,7 +256,11 @@ _populate_gids_to_retain (hb_subset_plan_t* plan,
#ifndef HB_NO_VAR
if (close_over_gdef)
_collect_layout_variation_indices (plan->source, plan->_glyphset, plan->gpos_lookups, plan->layout_variation_indices, plan->layout_variation_idx_map);
_collect_layout_variation_indices (plan->source,
plan->_glyphset_gsub,
plan->gpos_lookups,
plan->layout_variation_indices,
plan->layout_variation_idx_map);
#endif
#ifndef HB_NO_SUBSET_CFF