From fa737da022f11371ea214f48bb28c327fef77d7d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 5 Apr 2025 15:26:07 -0600 Subject: [PATCH] [hb-subset] Speed up parsing glyphs-file Cache the font used to load glyph names. --- util/hb-subset.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/util/hb-subset.cc b/util/hb-subset.cc index 2ebb800f4..c6f8535e3 100644 --- a/util/hb-subset.cc +++ b/util/hb-subset.cc @@ -307,7 +307,6 @@ parse_glyphs (const char *name, p = end + 1; } - hb_font_destroy (font); return true; }