[hb-info] Minor we have face available
This commit is contained in:
parent
8921f593f9
commit
9a94c06052
|
@ -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…
Reference in New Issue