mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 13:35:06 +00:00
Revert "[subset/glyf] Exact allocation"
This reverts commit a830f085c8
.
Weirdly enough in a benchmark I'm running I see this show
some slowdown. Makes zero sense.
This commit is contained in:
parent
a830f085c8
commit
b04ca1c188
1 changed files with 1 additions and 1 deletions
|
@ -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, true, true)) return false;
|
||||
if (!glyphs.resize (num_glyphs)) return false;
|
||||
|
||||
for (auto p : plan->glyph_map->iter ())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue