qt5base-lts/tests/auto/gui/text/qrawfont
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
..
qrawfont.pro QStyleSheetStyle: Don't interfere with QFontDialog 2014-10-24 16:59:26 +02:00
testdata.qrc QStyleSheetStyle: Don't interfere with QFontDialog 2014-10-24 16:59:26 +02:00
testfont_bold_italic.ttf Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
tst_qrawfont.cpp Fix QRawFont test when used with bundled FreeType 2015-01-16 09:27:29 +01:00