diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2009-06-23 08:35:02 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-06-23 08:37:28 (GMT) |
commit | adf322c514a5781dcb9ec304d44229fa47d5e8b3 (patch) | |
tree | 9fbfe4e79ca321b17b2d3262774b9f7b4a2366d1 /src/gui | |
parent | af6fb86be2fc711cbaf10a482ad84d6f207f5d27 (diff) | |
download | Qt-adf322c514a5781dcb9ec304d44229fa47d5e8b3.zip Qt-adf322c514a5781dcb9ec304d44229fa47d5e8b3.tar.gz Qt-adf322c514a5781dcb9ec304d44229fa47d5e8b3.tar.bz2 |
Improve text drawing quality with Carbon
Re-enable fractional coordinates for text output, to produce the same
output as regular Carbon/ATSUI applications.
Reviewed-by: Norwegian Rock Cat <qt-info@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text/qfontengine_mac.mm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/text/qfontengine_mac.mm b/src/gui/text/qfontengine_mac.mm index d43ef15..327df45 100644 --- a/src/gui/text/qfontengine_mac.mm +++ b/src/gui/text/qfontengine_mac.mm @@ -1019,11 +1019,6 @@ bool QFontEngineMacMulti::stringToCMapInternal(const QChar *str, int len, QGlyph | kATSLineDisableAllJustification ; - if (!(flags & QTextEngine::DesignMetrics)) { - layopts |= kATSLineFractDisable | kATSLineUseDeviceMetrics - | kATSLineDisableAutoAdjustDisplayPos; - } - if (fontDef.styleStrategy & QFont::NoAntialias) layopts |= kATSLineNoAntiAliasing; |