[hb-subset] Speed up parsing glyphs-file

Cache the font used to load glyph names.
This commit is contained in:
Behdad Esfahbod 2025-04-05 15:26:07 -06:00
parent 54295ccf45
commit fa737da022

View file

@ -307,7 +307,6 @@ parse_glyphs (const char *name,
p = end + 1;
}
hb_font_destroy (font);
return true;
}