[repacker] Use extension promotion when repacking invoked via hb-subset-repacker (eg. from fonttools).

This commit is contained in:
Garret Rieger 2022-07-25 19:16:03 +00:00
parent e6dda54c88
commit 156105b0f0
1 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,9 @@ hb_blob_t* hb_subset_repack_or_fail (hb_object_t* hb_objects, unsigned num_hb_ob
for (unsigned i = 0 ; i < num_hb_objs ; i++) for (unsigned i = 0 ; i < num_hb_objs ; i++)
packed.push (&(hb_objects[i])); packed.push (&(hb_objects[i]));
return hb_resolve_overflows (packed, HB_OT_TAG_GSUB); return hb_resolve_overflows (packed,
HB_OT_TAG_GSUB,
20,
true);
} }
#endif #endif