[subset] Don't gate access to the table repacker.

Any table with an object graph should repack correctly.
This commit is contained in:
Garret Rieger 2022-12-19 20:06:32 +00:00 committed by Behdad Esfahbod
parent 03a1685693
commit 1840b02e6a
1 changed files with 0 additions and 7 deletions

View File

@ -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 ();