mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 01:00:37 +00:00
[subset-plan] Add a couple of allocs
This commit is contained in:
parent
d46cd93b6a
commit
6d3b7931fd
1 changed files with 2 additions and 0 deletions
|
@ -902,9 +902,11 @@ _create_old_gid_to_new_gid_map (const hb_face_t *face,
|
|||
*num_glyphs = max_glyph + 1;
|
||||
}
|
||||
|
||||
reverse_glyph_map->alloc (reverse_glyph_map->get_population () + new_to_old_gid_list->length);
|
||||
+ hb_iter (new_to_old_gid_list)
|
||||
| hb_sink (reverse_glyph_map)
|
||||
;
|
||||
glyph_map->alloc (glyph_map->get_population () + new_to_old_gid_list->length);
|
||||
+ hb_iter (new_to_old_gid_list)
|
||||
| hb_map (&hb_codepoint_pair_t::reverse)
|
||||
| hb_sink (glyph_map)
|
||||
|
|
Loading…
Add table
Reference in a new issue