summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-06-23 08:35:02 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-06-23 08:37:28 (GMT)
commitadf322c514a5781dcb9ec304d44229fa47d5e8b3 (patch)
tree9fbfe4e79ca321b17b2d3262774b9f7b4a2366d1 /src/gui
parentaf6fb86be2fc711cbaf10a482ad84d6f207f5d27 (diff)
downloadQt-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.mm5
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;