diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2011-02-22 14:40:40 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2011-03-14 08:25:42 (GMT) |
commit | c0fed43b04dec8bd549043d3ea5e28908128082c (patch) | |
tree | 53b111aa672e80585c32e5874646a2c93b186a76 /src/gui/gui.pro | |
parent | 6f5553b95c4df489e0bf047399a90e9a564314e6 (diff) | |
download | Qt-c0fed43b04dec8bd549043d3ea5e28908128082c.zip Qt-c0fed43b04dec8bd549043d3ea5e28908128082c.tar.gz Qt-c0fed43b04dec8bd549043d3ea5e28908128082c.tar.bz2 |
Introduce QFontEngineDirectWrite
Make a font engine for subpixel positioned text on Windows Vista
(with platform update) and Windows 7. If selected during
configuration, the engine will be selected only when the hinting
preference of a font is set to None or Vertical hinting. The font
database uses most of the same logic but creates a direct write
font based on the LOGFONT rather than a GDI handle.
The engine is currently regarded as experimental, meaning that code
using it should do substantial testing to make sure it covers their
use cases.
Task-number: QTBUG-12678
Reviewed-by: Jiang Jiang
Diffstat (limited to 'src/gui/gui.pro')
-rw-r--r-- | src/gui/gui.pro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui.pro b/src/gui/gui.pro index 076fe0a..fda76a2 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -79,6 +79,10 @@ neon:*-g++* { QMAKE_EXTRA_COMPILERS += neon_compiler } +win32:!contains(QT_CONFIG, directwrite) { + DEFINES += QT_NO_DIRECTWRITE +} + contains(QMAKE_MAC_XARCH, no) { DEFINES += QT_NO_MAC_XARCH } else { |