提交 bdc48a87 编写于 作者: B Behdad Esfahbod

Enlarge glyph_name buffer

Lohit Devanagari has a glyph named:
u0924_u094D.half_u0930_u094D.blwf.vatu
上级 25326c23
...@@ -747,7 +747,7 @@ format_options_t::serialize_glyphs (hb_buffer_t *buffer, ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册