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

[HB] Fix bug in chain_context_lookup() invocations

Part of Bug 595539 - Regressions in rendering certain Thai sequences with
OpenType font
上级 e6bd4e93
......@@ -567,7 +567,7 @@ struct ChainRule
const ArrayOf<LookupRecord> &lookup = CONST_NEXT (ArrayOf<LookupRecord>, lookahead);
return chain_context_lookup (APPLY_ARG,
backtrack.len, backtrack.array,
input.len, input.array + 1,
input.len, input.array,
lookahead.len, lookahead.array,
lookup.len, lookup.array,
lookup_context);
......@@ -749,7 +749,7 @@ struct ChainContextFormat3
};
return chain_context_lookup (APPLY_ARG,
backtrack.len, (USHORT *) backtrack.array,
input.len, (USHORT *) input.array,
input.len, (USHORT *) input.array + 1,
lookahead.len, (USHORT *) lookahead.array,
lookup.len, lookup.array,
lookup_context);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册