[gpos] in PairPos, always advance next-glyph by one only
This goes against the spec. https://github.com/harfbuzz/harfbuzz/issues/3824
This commit is contained in:
parent
56c4670935
commit
7a76222c20
|
@ -243,8 +243,6 @@ struct PairPosFormat2_4
|
||||||
|
|
||||||
|
|
||||||
buffer->idx = skippy_iter.idx;
|
buffer->idx = skippy_iter.idx;
|
||||||
if (len2)
|
|
||||||
buffer->idx++;
|
|
||||||
|
|
||||||
return_trace (true);
|
return_trace (true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -128,8 +128,6 @@ struct PairSet
|
||||||
|
|
||||||
if (applied_first || applied_second)
|
if (applied_first || applied_second)
|
||||||
buffer->unsafe_to_break (buffer->idx, pos + 1);
|
buffer->unsafe_to_break (buffer->idx, pos + 1);
|
||||||
if (len2)
|
|
||||||
pos++;
|
|
||||||
|
|
||||||
buffer->idx = pos;
|
buffer->idx = pos;
|
||||||
return_trace (true);
|
return_trace (true);
|
||||||
|
|
Loading…
Reference in New Issue