Fix glyph name printing in hb-ot-shape-closure

This commit is contained in:
Behdad Esfahbod 2013-07-29 14:34:40 -04:00
parent 6fadd9dd7c
commit 5fbc952524
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ struct shape_closure_consumer_t : option_group_t
if (show_glyph_names)
{
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);
} else
printf ("%u", i);