qt5base-lts/tests/auto/gui
Eskil Abrahamsen Blomfeldt 18e8519dcd Win: Choose a suitable font in tst_QTextLayout::textWidthVsWIdth
The default font on Windows 10 (Segoe UI) will return the
wrong minimum right bearing at some sizes, which will cause
us to skip the textWidthVsWIdth() test at some scale factors,
since we cannot trust the layout to be perfect in this case.

Based on experiment, Arial is more accurate, so in order to
avoid skipping the test, we default to this on Windows instead.
(Note: The problem has not been observed with the default fonts
on Linux or macOS, so we only do this for Windows specifically.)

Task-number: QTBUG-84415
Pick-to: 5.15
Change-Id: I8cdb5d0d9922915a6ed1574d62a561dda0e1dc5d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-06-08 13:03:48 +00:00
..
image Remove winrt 2020-06-06 20:25:49 +02:00
itemmodels Remove deprecated members from several QtGui classes 2020-04-27 12:21:29 +02:00
kernel Remove winrt 2020-06-06 20:25:49 +02:00
math3d Revert "Remove flagBits from QMatrix4x4" 2020-03-04 15:54:38 +00:00
painting Fix ExtendedRgb and Rgb encoding comparisons 2020-05-28 21:15:55 +02:00
qopengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
qopenglconfig Remove QScreen::orientationUpdateMask 2020-05-07 13:48:08 +00:00
qvulkan Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
rhi Remove winrt 2020-06-06 20:25:49 +02:00
text Win: Choose a suitable font in tst_QTextLayout::textWidthVsWIdth 2020-06-08 13:03:48 +00:00
util Remove winrt 2020-06-06 20:25:49 +02:00
.prev_CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
gui.pro Remove winrt 2020-06-06 20:25:49 +02:00