summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/codecs/qtextcodec/utf-8.txt
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2022-05-23 14:55:37 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2022-05-24 20:20:01 +0200
commitcc42d90eb4fd148656941e9a6395169b5aa4cf73 (patch)
tree2a3937c1ffc0d5cbc07cb283a673961584e78bb7 /tests/benchmarks/corelib/codecs/qtextcodec/utf-8.txt
parent718d680579508284f7617a4e7db24d140438478d (diff)
Enable text layout drawing on coordinates outside QFIXED_MAX
In an earlier commit, painting on such coordinates was rejected, since it would overflow the internal calculations using QFixed. Instead, avoid the overflow by translating the painter to avoid the huge coordinate values. Also reduce the max value somewhat, so that pos stays well away from QFIXED_MAX, to avoid overflows in the other QFixed variables that have values offset from pos. Fixes: QTBUG-103745 Pick-to: 6.3 6.2 Change-Id: Iebdec32bed57fe8e65551c7d278da9fd6c041b37 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'tests/benchmarks/corelib/codecs/qtextcodec/utf-8.txt')
0 files changed, 0 insertions, 0 deletions