[graphite2] Enlarge buffer for output glyphs!
This commit is contained in:
parent
41a29af805
commit
ea7f8414e3
|
@ -269,6 +269,7 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan,
|
||||||
gr_seg_destroy (seg);
|
gr_seg_destroy (seg);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
buffer->ensure (glyph_count);
|
||||||
|
|
||||||
scratch = buffer->get_scratch_buffer (&scratch_size);
|
scratch = buffer->get_scratch_buffer (&scratch_size);
|
||||||
while ((DIV_CEIL (sizeof (hb_graphite2_cluster_t) * buffer->len, sizeof (*scratch)) +
|
while ((DIV_CEIL (sizeof (hb_graphite2_cluster_t) * buffer->len, sizeof (*scratch)) +
|
||||||
|
|
Loading…
Reference in New Issue