[subset] Don't gate access to the table repacker.
Any table with an object graph should repack correctly.
This commit is contained in:
parent
03a1685693
commit
1840b02e6a
|
@ -208,13 +208,6 @@ _plan_estimate_subset_table_size (hb_subset_plan_t *plan,
|
||||||
static hb_blob_t*
|
static hb_blob_t*
|
||||||
_repack (hb_tag_t tag, const hb_serialize_context_t& c)
|
_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 ())
|
if (!c.offset_overflow ())
|
||||||
return c.copy_blob ();
|
return c.copy_blob ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue