Form clusters before setting masks

This commit is contained in:
Behdad Esfahbod 2010-10-12 17:00:25 -04:00
parent 1e80782244
commit fc96596b7c
1 changed files with 2 additions and 2 deletions

View File

@ -277,10 +277,10 @@ hb_ot_shape_execute_internal (hb_ot_shape_context_t *c)
/* Save the original direction, we use it later. */
c->original_direction = c->buffer->props.direction;
hb_ot_shape_setup_masks (c);
hb_form_clusters (c);
hb_ot_shape_setup_masks (c);
/* SUBSTITUTE */
{
/* Mirroring needs to see the original direction */