Imported Upstream version 0.9.35
[platform/upstream/harfbuzz.git] / util / hb-ot-shape-closure.cc
index fd9756b..03de7e6 100644 (file)
@@ -79,9 +79,10 @@ struct shape_closure_consumer_t : option_group_t
        first = false;
       else
        printf (" ");
-      char glyph_name[32];
-      if (show_glyph_names) {
-       hb_font_get_glyph_name (font, i, glyph_name, sizeof (glyph_name));
+      if (show_glyph_names)
+      {
+       char glyph_name[64];
+       hb_font_glyph_to_string (font, i, glyph_name, sizeof (glyph_name));
        printf ("%s", glyph_name);
       } else
        printf ("%u", i);