summaryrefslogtreecommitdiffstats
path: root/src/corelib/text
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-04-29 07:40:25 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-21 12:35:15 +0200
commit8e569fe5f6fb43e93aabf5298fcb13add3ff7f08 (patch)
treebcec5491bc6f49adb91dfb54f391d9f7a61ceec7 /src/corelib/text
parent0ab43ccd418b2d800bde59292e8c660c18d12416 (diff)
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). In 5.15, this test now also passes on WinRT, so remove the QEXPECT_FAIL. Fixes: QTBUG-46206 Task-number: QTBUG-68297 Change-Id: I03e8b8fb86e9ebe5337d3ba3384ade73d2ccdd69 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 8231614661e1eecaabcf33d1e332809556e86089) Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/text')
0 files changed, 0 insertions, 0 deletions