| commit | e0607af9769d7f3727a1fe6bfe20671ad9fb216a | [log] [tgz] |
|---|---|---|
| author | Garret Rieger <grieger@google.com> | Mon Jul 25 19:16:03 2022 +0000 |
| committer | Garret Rieger <grieger@google.com> | Tue Jul 26 12:22:17 2022 -0600 |
| tree | dd1506fd0e066568203a215fd53cf55f637fa163 | |
| parent | 8d611a7fd06dc2600cb9f9c8b94d305285686f84 [diff] |
[repacker] Use extension promotion when repacking invoked via hb-subset-repacker (eg. from fonttools).
diff --git a/src/hb-subset-repacker.cc b/src/hb-subset-repacker.cc index 03e3feb..99dc69b 100644 --- a/src/hb-subset-repacker.cc +++ b/src/hb-subset-repacker.cc
@@ -44,6 +44,9 @@ 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