[graphite2] Enlarge buffer for output glyphs!

pull/122/head
Behdad Esfahbod 9 years ago
parent 41a29af805
commit ea7f8414e3
  1. 1
      src/hb-graphite2.cc

@ -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)) +

Loading…
Cancel
Save