From bdc48a879a1900138d8caaa8d90fb9fe1e768d1d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 4 Aug 2012 17:08:38 -0700 Subject: [PATCH] Enlarge glyph_name buffer Lohit Devanagari has a glyph named: u0924_u094D.half_u0930_u094D.blwf.vatu --- util/options.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/options.cc b/util/options.cc index 584190e04..3a9496bc4 100644 --- a/util/options.cc +++ b/util/options.cc @@ -747,7 +747,7 @@ format_options_t::serialize_glyphs (hb_buffer_t *buffer, if (i) g_string_append_c (gs, '|'); - char glyph_name[32]; + char glyph_name[128]; if (show_glyph_names) { hb_font_get_glyph_name (font, info->codepoint, glyph_name, sizeof (glyph_name)); g_string_append_printf (gs, "%s", glyph_name);