static void
hb_ot_shape_setup_masks (hb_ot_shape_context_t *c)
{
+ c->buffer->clear_masks ();
+
hb_mask_t global_mask = c->plan->map.get_global_mask ();
if (global_mask)
c->buffer->set_masks (global_mask, global_mask, 0, (unsigned int) -1);
/* SUBSTITUTE */
{
- c->buffer->clear_masks ();
-
/* Mirroring needs to see the original direction */
hb_mirror_chars (c);
/* POSITION */
{
- c->buffer->clear_masks ();
-
hb_position_default (c);
hb_ot_position_complex (c);