[HB] Fix bug in chain_context_lookup() invocations
Part of Bug 595539 - Regressions in rendering certain Thai sequences with OpenType font
This commit is contained in:
parent
e6bd4e93bd
commit
c0ab43c058
|
@ -567,7 +567,7 @@ struct ChainRule
|
||||||
const ArrayOf<LookupRecord> &lookup = CONST_NEXT (ArrayOf<LookupRecord>, lookahead);
|
const ArrayOf<LookupRecord> &lookup = CONST_NEXT (ArrayOf<LookupRecord>, lookahead);
|
||||||
return chain_context_lookup (APPLY_ARG,
|
return chain_context_lookup (APPLY_ARG,
|
||||||
backtrack.len, backtrack.array,
|
backtrack.len, backtrack.array,
|
||||||
input.len, input.array + 1,
|
input.len, input.array,
|
||||||
lookahead.len, lookahead.array,
|
lookahead.len, lookahead.array,
|
||||||
lookup.len, lookup.array,
|
lookup.len, lookup.array,
|
||||||
lookup_context);
|
lookup_context);
|
||||||
|
@ -749,7 +749,7 @@ struct ChainContextFormat3
|
||||||
};
|
};
|
||||||
return chain_context_lookup (APPLY_ARG,
|
return chain_context_lookup (APPLY_ARG,
|
||||||
backtrack.len, (USHORT *) backtrack.array,
|
backtrack.len, (USHORT *) backtrack.array,
|
||||||
input.len, (USHORT *) input.array,
|
input.len, (USHORT *) input.array + 1,
|
||||||
lookahead.len, (USHORT *) lookahead.array,
|
lookahead.len, (USHORT *) lookahead.array,
|
||||||
lookup.len, lookup.array,
|
lookup.len, lookup.array,
|
||||||
lookup_context);
|
lookup_context);
|
||||||
|
|
Loading…
Reference in New Issue