qt5base-lts/tests/auto/gui/text/qtextdocumentlayout
Eskil Abrahamsen Blomfeldt 8231614661 Fix QTextDocumentLayout test with certain fonts
If there is a negative right bearing on the last character of the string,
it will stretch past the tab position (which aligns the advance position,
and not the right edge of the glyph). For certain fonts, this would cause
the actual ideal width to be calculated as 301 instead of 300 (which is
the right alignment edge set in the code).

Pick-to: 5.15
Fixes: QTBUG-46206
Change-Id: I03e8b8fb86e9ebe5337d3ba3384ade73d2ccdd69
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-05-04 08:00:37 +02:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
BLACKLIST unblacklist passing tests 2019-07-08 11:01:42 +00:00
CMakeLists.txt cmake: add tests/auto/gui/text 2019-11-01 13:28:59 +00:00
qtextdocumentlayout.pro Fix qtHaveModule(widgets) condition 2019-11-02 08:55:27 +01:00
tst_qtextdocumentlayout.cpp Fix QTextDocumentLayout test with certain fonts 2020-05-04 08:00:37 +02:00