qt5base-lts/tests/auto/gui
Eskil Abrahamsen Blomfeldt 1ee6fdc72c Fix QRawFont test when used with bundled FreeType
The auto-hinter in the FreeType version bundled in Qt gives
slightly different advances on some glyphs. As noted in
the removed code, this was already observed on Windows and QNX,
and recently also on Android.

I'm sure it could also happen on platforms using the system library
if the system library was the same version as the one bundled in Qt.
Instead of expect-failing the test, we simply accept both the
observed results as valid.

Note that we need to accept 9 as a result for the default hinting
preference on all platforms, not just Windows, since the default
hinting preference in FreeType can be a system setting.

Change-Id: I3cc0f33f0f66dd64419770b37c10dee457706b5e
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2015-01-16 09:27:29 +01:00
..
image Android: Fix QImageReader test 2015-01-16 09:27:15 +01:00
itemmodels Update license headers and add new license files 2014-09-24 12:26:19 +02:00
kernel Prospective stabilization fix for tst_qwindow::positioning(default) 2014-12-18 17:56:03 +01:00
math3d Update license headers and add new license files 2014-09-24 12:26:19 +02:00
painting Make sure widget is polished before checking its font 2015-01-08 10:07:00 +01:00
qopengl Update license headers and add new license files 2014-09-24 12:26:19 +02:00
text Fix QRawFont test when used with bundled FreeType 2015-01-16 09:27:29 +01:00
util Observe QLocale::RejectGroupSeparator in QInt/DoubleValidator. 2014-11-20 16:38:23 +01:00
gui.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00