From e0607af9769d7f3727a1fe6bfe20671ad9fb216a Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Mon, 25 Jul 2022 19:16:03 +0000 Subject: [PATCH] [repacker] Use extension promotion when repacking invoked via hb-subset-repacker (eg. from fonttools). --- src/hb-subset-repacker.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hb-subset-repacker.cc b/src/hb-subset-repacker.cc index 03e3feb1f..99dc69b4e 100644 --- a/src/hb-subset-repacker.cc +++ b/src/hb-subset-repacker.cc @@ -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++) 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