projects
/
apps
/
home
/
video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7820b7
)
Set user masks after complex masks
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 13 Oct 2010 19:18:29 +0000
(15:18 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 13 Oct 2010 19:18:29 +0000
(15:18 -0400)
src/hb-ot-shape.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape.cc
b/src/hb-ot-shape.cc
index
0ce3896
..
16bec61
100644
(file)
--- 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);
}