Increase the size of the serialization buffer

This commit is contained in:
David Corbett 2020-04-23 19:09:00 -04:00 committed by Behdad Esfahbod
parent 19346524c6
commit 5a0936f53e
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ format_options_t::serialize_glyphs (hb_buffer_t *buffer,
while (start < num_glyphs) while (start < num_glyphs)
{ {
char buf[1024]; char buf[32768];
unsigned int consumed; unsigned int consumed;
start += hb_buffer_serialize_glyphs (buffer, start, num_glyphs, start += hb_buffer_serialize_glyphs (buffer, start, num_glyphs,
buf, sizeof (buf), &consumed, buf, sizeof (buf), &consumed,