[subset-cff2] Don't share varstore object

This commit is contained in:
Behdad Esfahbod 2022-11-28 16:17:09 -07:00
parent c503cf003e
commit 3d9e3c2dc7
1 changed files with 1 additions and 1 deletions

View File

@ -410,7 +410,7 @@ static bool _serialize_cff2 (hb_serialize_context_t *c,
c->push ();
CFF2VariationStore *dest = c->start_embed<CFF2VariationStore> ();
if (unlikely (!dest || !dest->serialize (c, acc.varStore))) return false;
plan.info.var_store_link = c->pop_pack ();
plan.info.var_store_link = c->pop_pack (false);
}
OT::cff2 *cff2 = c->allocate_min<OT::cff2> ();