Enlarge glyph_name buffer

Lohit Devanagari has a glyph named:
u0924_u094D.half_u0930_u094D.blwf.vatu
This commit is contained in:
Behdad Esfahbod 2012-08-04 17:08:38 -07:00
parent 25326c2359
commit bdc48a879a
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ format_options_t::serialize_glyphs (hb_buffer_t *buffer,
if (i) if (i)
g_string_append_c (gs, '|'); g_string_append_c (gs, '|');
char glyph_name[32]; char glyph_name[128];
if (show_glyph_names) { if (show_glyph_names) {
hb_font_get_glyph_name (font, info->codepoint, glyph_name, sizeof (glyph_name)); hb_font_get_glyph_name (font, info->codepoint, glyph_name, sizeof (glyph_name));
g_string_append_printf (gs, "%s", glyph_name); g_string_append_printf (gs, "%s", glyph_name);