From 5fbc952524ac8840f007dc0136823a4ab6e25f70 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 29 Jul 2013 14:34:40 -0400 Subject: [PATCH] Fix glyph name printing in hb-ot-shape-closure --- util/hb-ot-shape-closure.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/hb-ot-shape-closure.cc b/util/hb-ot-shape-closure.cc index 7c81a7dd6..03de7e668 100644 --- a/util/hb-ot-shape-closure.cc +++ b/util/hb-ot-shape-closure.cc @@ -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);