[hb-info] Minor we have face available

This commit is contained in:
Behdad Esfahbod 2023-01-19 13:56:36 -07:00
parent 8921f593f9
commit 9a94c06052
1 changed files with 0 additions and 4 deletions

View File

@ -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++)