qt5base-lts/tests/auto/gui
Eskil Abrahamsen Blomfeldt 78eeb6b066 QFont::exactMatch() should return false for aliases
This is a partial revert of 992f233c in Qt 4 repo. The rest of the
change cannot be reverted, since it added public API, but that
API might be useful anyway.

The patch was wrong, basically. QFont::exactMatch() should not claim
that you can get an exact match for a typeface alias. It also introduced
some weird inconsistencies: For instance, if the first font the alias
resolved to in FontConfig did not exist, then exactMatch() would return
false, even if it then resolved to the next one which existed. This
caused a test failure on OpenSuse, where the preferred font for "sans"
is Arial, which doesn't exist, so Roboto will be used instead.

[ChangeLog][QtGui][Important Behavior Changes] QFont::exactMatch() now
returns false when the provided typeface is an alias.

Task-number: QTBUG-46054
Change-Id: I7532d2879b492544620aa0d1d87dd493a4923af9
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2016-05-12 10:13:42 +00:00
..
image QImage::setPixelColor: warn about invalid colors 2016-05-11 07:21:02 +00:00
itemmodels QStandardItemModel: Reset the flags on clear() 2016-02-17 11:39:13 +00:00
kernel Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00
math3d Updated license headers 2016-01-21 18:55:18 +00:00
painting Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
qopengl Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
qopenglconfig Updated license headers 2016-01-21 18:55:18 +00:00
text QFont::exactMatch() should return false for aliases 2016-05-12 10:13:42 +00:00
util Updated license headers 2016-01-21 18:55:18 +00:00
gui.pro Add qopenglconfig test. 2015-02-02 23:05:41 +00:00