qt5base-lts/tests/auto
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
..
cmake Merge remote-tracking branch 'origin/5.15' into dev 2020-05-05 19:51:50 +02:00
concurrent Reuse the non blocking implementation for blocking one 2020-06-05 12:09:59 +02:00
corelib Implement first/last/from and slice() for string-like classes 2020-06-08 13:17:32 +02:00
dbus Fix autotests after the QHash changes 2020-04-09 20:04:15 +02:00
gui Win: Choose a suitable font in tst_QTextLayout::textWidthVsWIdth 2020-06-08 13:03:48 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Remove winrt 2020-06-06 20:25:49 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other Move some flaky text tests into Lancelot 2020-06-08 06:45:49 +02:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
testlib Remove winrt 2020-06-06 20:25:49 +02:00
tools Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00
widgets Remove winrt 2020-06-06 20:25:49 +02:00
xml Remove winrt 2020-06-06 20:25:49 +02:00
.prev_CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
auto.pro Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00