You need to sign in or sign up before continuing.
提交 2118fdb9 编写于 作者: B Behdad Esfahbod

Fix fallback shaping

Broke it a few commits ago.
上级 199abbd0
......@@ -235,12 +235,13 @@ hb_substitute_default (hb_ot_shape_context_t *c)
static void
hb_ot_substitute_complex (hb_ot_shape_context_t *c)
{
if (hb_ot_layout_has_substitution (c->face))
if (hb_ot_layout_has_substitution (c->face)) {
c->plan->map.substitute (c->face, c->buffer);
c->applied_substitute_complex = TRUE;
}
hb_ot_layout_substitute_finish (c->buffer);
c->applied_substitute_complex = TRUE;
return;
}
......@@ -295,11 +296,12 @@ hb_ot_position_complex (hb_ot_shape_context_t *c)
&c->buffer->pos[i].x_offset,
&c->buffer->pos[i].y_offset);
}
c->applied_position_complex = TRUE;
}
hb_ot_layout_position_finish (c->buffer);
c->applied_position_complex = TRUE;
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册