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