From 1840b02e6a61d030cf485ea6c36126cd6dbd984e Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Mon, 19 Dec 2022 20:06:32 +0000 Subject: [PATCH] [subset] Don't gate access to the table repacker. Any table with an object graph should repack correctly. --- src/hb-subset.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/hb-subset.cc b/src/hb-subset.cc index 186b12dbb..bda0b7b17 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc @@ -208,13 +208,6 @@ _plan_estimate_subset_table_size (hb_subset_plan_t *plan, static hb_blob_t* _repack (hb_tag_t tag, const hb_serialize_context_t& c) { - if (tag != HB_OT_TAG_GPOS - && tag != HB_OT_TAG_GSUB) - { - // Check for overflow in a non-handled table. - return c.successful () ? c.copy_blob () : nullptr; - } - if (!c.offset_overflow ()) return c.copy_blob ();