Fix font printing on Windows using the native engine.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Mon, 14 May 2012 14:57:15 +0000 (16:57 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 15 May 2012 12:34:04 +0000 (14:34 +0200)
commit8b4bf5f81634aa113029ac72721ebd9143c9ed80
tree8eedef4172b08af5b6be651298aae1629188d167
parentc241d8921ea6384c30a1731a036aec8edc7609ab
Fix font printing on Windows using the native engine.

- Add HFONT, LOGFONT, trueType as properties of the
  Windows font engine, make it a real Q_OBJECT.
- Query properties in the Windows print engine and use the HFONT,
  LOGFONT there.

Change-Id: I5c35275b32ef6580d7fa15ed83c6e79e33dc3334
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/plugins/platforms/windows/qwindowsfontdatabase.cpp
src/plugins/platforms/windows/qwindowsfontengine.cpp
src/plugins/platforms/windows/qwindowsfontengine.h
src/printsupport/kernel/qprintengine_win.cpp