qt5base-lts/tests/auto/gui
Allan Sandfeld Jensen 131eee5cd7 Avoid synthesizing stretch on condensed font families
If an entire font family is condensed or stretched and we match by
family name, the default stretch factor of 100 will make the font
engine try to synthesize it back to medium stretched font.

The existing code is already made to deal with a stretch of 0 that is
no longer used. This patch reintroduces 0 stretch to indicate no
specific stretch has been requested. Specifically setting stretch to
100 on a QFont will introduce the old behavior.

[ChangeLog][QtGui][QFont] The default value of QFont::stretch() is
now 0 to indicate any default stretch is acceptable.

Task-number: QTBUG-48043
Change-Id: I574747f980fd4f9893df828818aae99a07b41623
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2016-08-15 11:39:44 +00:00
..
image Merge remote-tracking branch 'origin/5.7' into dev 2016-08-01 18:20:00 +02:00
itemmodels QStandardItemModel: Reset the flags on clear() 2016-02-17 11:39:13 +00:00
kernel Add helper function to reset QMouseEvent localPos 2016-08-01 09:58:23 +00:00
math3d Updated license headers 2016-01-21 18:55:18 +00:00
painting tst_QPainterPath: clean up 2016-08-05 19:33:05 +00:00
qopengl Make QOpenGLTextureBlitter public 2016-07-29 07:21:10 +00:00
qopenglconfig Updated license headers 2016-01-21 18:55:18 +00:00
text Avoid synthesizing stretch on condensed font families 2016-08-15 11:39:44 +00:00
util QtGui: Remove Windows CE. 2016-03-30 17:35:41 +00:00
gui.pro Add support for Apple tvOS 2016-05-17 16:11:23 +00:00