[hb-info] Minor we have face available

pull/4048/head
Behdad Esfahbod 2 years ago
parent 8921f593f9
commit 9a94c06052
  1. 4
      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++)

Loading…
Cancel
Save