QWindowsFontDatabase: provide better fallbackFamilies.
authorPierre Rossi <pierre.rossi@digia.com>
Tue, 4 Dec 2012 17:05:09 +0000 (18:05 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 4 Dec 2012 19:49:46 +0000 (20:49 +0100)
commit3b5537765e13a981ca6029c322d08afb785e0dbe
tree56f2a586a012f4ba3488a0eb104840ababd0081c
parent418890e0748384eb684f33b10dc6f32493aee54b
QWindowsFontDatabase: provide better fallbackFamilies.

Borrowed some code from QWindowsFontDatabase::createEngine that will
help ensure our fallback options are thorough enough to display say
chinese glyphs when using the QRawFont + QTextLayout combination that
QtWebKit relies on.

Task-number: QTWEBKIT-383
Change-Id: Ie4c1d5ef7d58588afaa436c89a9575ffd646c314
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/plugins/platforms/windows/qwindowsfontdatabase.cpp