Form clusters before setting masks
This commit is contained in:
parent
1e80782244
commit
fc96596b7c
|
@ -277,10 +277,10 @@ hb_ot_shape_execute_internal (hb_ot_shape_context_t *c)
|
||||||
/* Save the original direction, we use it later. */
|
/* Save the original direction, we use it later. */
|
||||||
c->original_direction = c->buffer->props.direction;
|
c->original_direction = c->buffer->props.direction;
|
||||||
|
|
||||||
hb_ot_shape_setup_masks (c);
|
|
||||||
|
|
||||||
hb_form_clusters (c);
|
hb_form_clusters (c);
|
||||||
|
|
||||||
|
hb_ot_shape_setup_masks (c);
|
||||||
|
|
||||||
/* SUBSTITUTE */
|
/* SUBSTITUTE */
|
||||||
{
|
{
|
||||||
/* Mirroring needs to see the original direction */
|
/* Mirroring needs to see the original direction */
|
||||||
|
|
Loading…
Reference in New Issue