mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
[gsubgpos] Prealloc subtables vector
This commit is contained in:
1 parent
00060d99f3
commit
36bef5dccf
1 file changed
+1
@@ -4020,6 +4020,7 @@ struct hb_ot_layout_lookup_accelerator_t
|
||||
void init (const TLookup &lookup)
|
||||
{
|
||||
subtables.init ();
|
||||
subtables.alloc (lookup.get_subtable_count ());
|
||||
hb_accelerate_subtables_context_t c_accelerate_subtables (subtables);
|
||||
lookup.dispatch (&c_accelerate_subtables);
|
||||
|
||||
|
||||
Reference in new issue
Block a user