From 9a94c06052e6dd6e752aaac7ce5924f205b73072 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 19 Jan 2023 13:56:36 -0700 Subject: [PATCH] [hb-info] Minor we have face available --- util/hb-info.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/util/hb-info.cc b/util/hb-info.cc index ce467eaf0..109a2a893 100644 --- a/util/hb-info.cc +++ b/util/hb-info.cc @@ -154,8 +154,6 @@ struct info_t printf ("Unicode Glyph name\n\n"); } - hb_face_t *face = hb_font_get_face (font); - hb_set_t *unicodes = hb_set_create (); hb_map_t *cmap = hb_map_create (); @@ -216,8 +214,6 @@ struct info_t printf ("GlyphID Glyph name\n\n"); } - hb_face_t *face = hb_font_get_face (font); - unsigned num_glyphs = hb_face_get_glyph_count (face); for (hb_codepoint_t gid = 0; gid < num_glyphs; gid++)