From 5a0936f53ef533787a91063c0884275cc121585f Mon Sep 17 00:00:00 2001 From: David Corbett Date: Thu, 23 Apr 2020 19:09:00 -0400 Subject: [PATCH] Increase the size of the serialization buffer --- util/options.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/options.cc b/util/options.cc index cbe5d14ea..47a4e7104 100644 --- a/util/options.cc +++ b/util/options.cc @@ -917,7 +917,7 @@ format_options_t::serialize_glyphs (hb_buffer_t *buffer, while (start < num_glyphs) { - char buf[1024]; + char buf[32768]; unsigned int consumed; start += hb_buffer_serialize_glyphs (buffer, start, num_glyphs, buf, sizeof (buf), &consumed,