From 2989be4919242670c94825bded96db20a7b2035b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 13 Oct 2010 15:18:29 -0400 Subject: [PATCH] Set user masks after complex 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 0ce3896..16bec61 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -86,6 +86,8 @@ hb_ot_shape_setup_masks (hb_ot_shape_context_t *c) hb_mask_t global_mask = c->plan->map.get_global_mask (); c->buffer->reset_masks (global_mask); + hb_ot_shape_complex_setup_masks (c); + for (unsigned int i = 0; i < c->num_user_features; i++) { const hb_feature_t *feature = &c->user_features[i]; @@ -95,8 +97,6 @@ hb_ot_shape_setup_masks (hb_ot_shape_context_t *c) c->buffer->add_masks (feature->value << shift, mask, feature->start, feature->end); } } - - hb_ot_shape_complex_setup_masks (c); } -- 2.7.4