Preserve weight and style request for multi font engines
authorJiang Jiang <jiang.jiang@nokia.com>
Wed, 8 Feb 2012 16:28:13 +0000 (17:28 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 9 Feb 2012 11:54:29 +0000 (12:54 +0100)
commit4af285c7d1be43b1882fb5b2ece8539622ea1b22
treeacd3d685ab002011d1a558f556d0504ac0d3292f
parent581f079b04d4c1901d820304b3e9195e096e34e2
Preserve weight and style request for multi font engines

So that fallback fonts can pickup the weight/style requested instead
of using the weight and style of the primary font.

Change-Id: Ia592e079cad61334f21e0453412b198a900bb6b6
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/gui/text/qfontdatabase.cpp
src/gui/text/qfontdatabase_qpa.cpp