commit | ea7f8414e34d4b5efc7b98974637c08f75440f0e | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Wed Jul 22 13:53:45 2015 +0100 |
committer | Behdad Esfahbod <[email protected]> | Wed Jul 22 13:53:45 2015 +0100 |
tree | 95237b81715225ed0506c3d33a40812fbdc4b4e3 | |
parent | 41a29af8053782e3a9c6a96a394bd76ef6d42099 [diff] |
[graphite2] Enlarge buffer for output glyphs!
diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc index 807c330..26619e1 100644 --- a/src/hb-graphite2.cc +++ b/src/hb-graphite2.cc
@@ -269,6 +269,7 @@ gr_seg_destroy (seg); return false; } + buffer->ensure (glyph_count); scratch = buffer->get_scratch_buffer (&scratch_size); while ((DIV_CEIL (sizeof (hb_graphite2_cluster_t) * buffer->len, sizeof (*scratch)) +