From fc96596b7c1c4e62491e951a3c256fb00dcde550 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 12 Oct 2010 17:00:25 -0400 Subject: [PATCH] Form clusters before setting masks --- src/hb-ot-shape.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index 36155dfca..a729c3f81 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -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 */