提交 b5be2317 编写于 作者: B Behdad Esfahbod

[gsub] Adjust single-length ligature subst to act like single subst

上级 aae69451
......@@ -638,6 +638,14 @@ struct Ligature
if (unlikely (!count)) return TRACE_RETURN (false);
/* Special-case to make it in-place and not consider this
* as a "ligated" substitution. */
if (unlikely (count == 1))
{
c->replace_glyph (ligGlyph);
return TRACE_RETURN (true);
}
bool is_mark_ligature = false;
unsigned int total_component_count = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册