[Qt] Fix support for generic font families
authorvestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2009 13:29:20 +0000 (13:29 +0000)
committervestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2009 13:29:20 +0000 (13:29 +0000)
commit8ad05d600c464a844f4ee2d67a5b0e1e8108a9e8
treeb6df4063e3cfeeeffaadfa8c0283b5731826d3e9
parent1cd912b2c0d06b2f4046e4d8aa8b762fcd3257f9
[Qt] Fix support for generic font families

Reviewed by Simon Hausmann.

By not propagating the resolved font family in FontCacheQt and
only concidering the font description we ended up passing the
generic font families to Qt directly. Since most systems don't
have a mapping for these font families we ended up using the
default font in most cases.

* platform/graphics/qt/FontCacheQt.cpp:
* platform/graphics/qt/FontPlatformData.h:
* platform/graphics/qt/FontPlatformDataQt.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/graphics/qt/FontCacheQt.cpp
WebCore/platform/graphics/qt/FontPlatformData.h
WebCore/platform/graphics/qt/FontPlatformDataQt.cpp