Increase the size of the serialization buffer

pull/2375/head
David Corbett 5 years ago committed by Behdad Esfahbod
parent 19346524c6
commit 5a0936f53e
  1. 2
      util/options.cc

@ -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,

Loading…
Cancel
Save