Fix glyph name printing in hb-ot-shape-closure
This commit is contained in:
parent
6fadd9dd7c
commit
5fbc952524
|
@ -82,7 +82,7 @@ struct shape_closure_consumer_t : option_group_t
|
||||||
if (show_glyph_names)
|
if (show_glyph_names)
|
||||||
{
|
{
|
||||||
char glyph_name[64];
|
char glyph_name[64];
|
||||||
hb_font_get_glyph_name (font, i, glyph_name, sizeof (glyph_name));
|
hb_font_glyph_to_string (font, i, glyph_name, sizeof (glyph_name));
|
||||||
printf ("%s", glyph_name);
|
printf ("%s", glyph_name);
|
||||||
} else
|
} else
|
||||||
printf ("%u", i);
|
printf ("%u", i);
|
||||||
|
|
Loading…
Reference in New Issue