qt5base-lts/tests/auto/gui/text/qfontmetrics
Allan Sandfeld Jensen 4748369eb2 Fix inconsistencies between advanceWidth and bounding rects
Unify the logic in QTextEngine

Ensure tightBoundingRect, and the FreeType boundingRect, calculates from
the shaped x offset when calculating the max x coordinate for a glyph.

Fixes: QTBUG-7768
Task-number: QTBUG-70184
Task-number: QTBUG-85936
Task-number: QTBUG-94023
Change-Id: I6daafb25c79158dc7e777529abb5e8d3a284dac0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2021-10-21 12:37:22 +02:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
testfont.qrc Fix text shifting vertically when elided 2018-12-21 10:27:12 +00:00
tst_qfontmetrics.cpp Fix inconsistencies between advanceWidth and bounding rects 2021-10-21 12:37:22 +02:00
ucs4font.ttf Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00