qt6-bb10/tests/auto/gui/text
Eskil Abrahamsen Blomfeldt ade2df4c4b Relayout QStaticText when dpi changes
If the cached font has a different DPI than the one used in
QPainter, we need to treat this the same as if other font
properties have changed and redo the layout.

This happened when running the QStaticText test on Wayland,
because the default dpi was 100 and the QPixmap we ended up
drawing to was 96. This caused the pixel size of the font to
be calculated differently when doing drawText() (using 96 dpi)
and drawStaticText() (using the cached 100 dpi).

Pick-to: 6.4
Fixes: QTBUG-100982
Change-Id: Ie4270341bb8a64b6458eb67ba460a282c65dc26b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-07-14 14:09:33 +02:00
..
qabstracttextdocumentlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcssparser Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qfont BLACKLIST tst_qfont for Ubuntu 22.04 2022-06-20 17:06:20 +00:00
qfontcache Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qfontdatabase Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qfontmetrics Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qglyphrun BLACKLIST: tst_QGlyphRun::mixedScripts for Ubuntu 22.04 2022-06-20 20:06:20 +03:00
qinputcontrol Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qrawfont unblacklist passing tests 2022 2022-05-18 23:59:19 +02:00
qstatictext Relayout QStaticText when dpi changes 2022-07-14 14:09:33 +02:00
qsyntaxhighlighter Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextblock Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextcursor Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextdocument Use CSS classes on html list items for checkbox support 2022-06-11 14:18:35 +00:00
qtextdocumentfragment Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextdocumentlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextformat Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextimagehandler Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextlayout Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextlist Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextmarkdownimporter Avoid ending Markdown fenced code blocks with gratuitous blank lines 2022-05-20 00:49:18 +02:00
qtextmarkdownwriter Emit autolinks in QTextMarkdownWriter 2022-06-24 22:42:43 +02:00
qtextobject Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextodfwriter Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextpiecetable Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextscriptengine Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtexttable Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qzip Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Activate tst_qtextdocument for Android 2022-02-24 14:34:33 +01:00