commit | 7a76222c203b68a9aa64b537a3e8cda45646a53a | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Sep 21 12:22:41 2022 -0600 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Sep 21 12:22:41 2022 -0600 |
tree | 8e79a8b2877da1e5a508de42240f960e9df454ee | |
parent | 56c467093598ec559a7148b61e112e9de52b7076 [diff] |
[gpos] in PairPos, always advance next-glyph by one only This goes against the spec. https://github.com/harfbuzz/harfbuzz/issues/3824
diff --git a/src/OT/Layout/GPOS/PairPosFormat2.hh b/src/OT/Layout/GPOS/PairPosFormat2.hh index 83b093b..b1b2915 100644 --- a/src/OT/Layout/GPOS/PairPosFormat2.hh +++ b/src/OT/Layout/GPOS/PairPosFormat2.hh
@@ -243,8 +243,6 @@ buffer->idx = skippy_iter.idx; - if (len2) - buffer->idx++; return_trace (true); }
diff --git a/src/OT/Layout/GPOS/PairSet.hh b/src/OT/Layout/GPOS/PairSet.hh index aa48d93..e2de81d 100644 --- a/src/OT/Layout/GPOS/PairSet.hh +++ b/src/OT/Layout/GPOS/PairSet.hh
@@ -128,8 +128,6 @@ if (applied_first || applied_second) buffer->unsafe_to_break (buffer->idx, pos + 1); - if (len2) - pos++; buffer->idx = pos; return_trace (true);