mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 00:41:09 +01:00
[subset/glyf] Exact allocation
This commit is contained in:
1 parent
ff0b85cf57
commit
a830f085c8
1 file changed
+1
-1
+1
-1
@@ -432,7 +432,7 @@ glyf::_populate_subset_glyphs (const hb_subset_plan_t *plan,
|
||||
{
|
||||
OT::glyf_accelerator_t glyf (plan->source);
|
||||
unsigned num_glyphs = plan->num_output_glyphs ();
|
||||
if (!glyphs.resize (num_glyphs)) return false;
|
||||
if (!glyphs.resize (num_glyphs, true, true)) return false;
|
||||
|
||||
for (auto p : plan->glyph_map->iter ())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user