[graphite2] Enlarge buffer for output glyphs!

This commit is contained in:
Behdad Esfahbod 2015-07-22 13:53:45 +01:00
parent 41a29af805
commit ea7f8414e3
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan,
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)) +