[subset-cff1] Share subrs object
Multiple FDs might share the same subrs...
This commit is contained in:
parent
c7b998b355
commit
cba82829ba
|
@ -697,7 +697,7 @@ static bool _serialize_cff1 (hb_serialize_context_t *c,
|
||||||
if (unlikely (!dest)) return false;
|
if (unlikely (!dest)) return false;
|
||||||
c->push ();
|
c->push ();
|
||||||
if (likely (dest && dest->serialize (c, plan.subset_localsubrs[i])))
|
if (likely (dest && dest->serialize (c, plan.subset_localsubrs[i])))
|
||||||
subrs_link = c->pop_pack (false);
|
subrs_link = c->pop_pack ();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
c->pop_discard ();
|
c->pop_discard ();
|
||||||
|
|
Loading…
Reference in New Issue