diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-07 11:08:10 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-07 11:15:10 (GMT) |
commit | bd476c6e4b238290a92cfd4693c709e9010b282b (patch) | |
tree | 1dc8ef3a0ca81740c51f017b26c66a1d5594c673 /src/gui/painting | |
parent | ba65e2741c47912a800132b90f7dbaf2551b04c4 (diff) | |
download | Qt-bd476c6e4b238290a92cfd4693c709e9010b282b.zip Qt-bd476c6e4b238290a92cfd4693c709e9010b282b.tar.gz Qt-bd476c6e4b238290a92cfd4693c709e9010b282b.tar.bz2 |
Revert 344a4dcfe and part of 93bce787
Due to subpixel grid change, these changes are no longer needed.
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qtextureglyphcache.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/painting/qtextureglyphcache.cpp b/src/gui/painting/qtextureglyphcache.cpp index fdba9c9..abd0ed1 100644 --- a/src/gui/painting/qtextureglyphcache.cpp +++ b/src/gui/painting/qtextureglyphcache.cpp @@ -367,9 +367,7 @@ void QImageTextureGlyphCache::createTextureData(int width, int height) int QImageTextureGlyphCache::glyphMargin() const { -#if (defined(Q_WS_MAC) && defined(QT_MAC_USE_COCOA)) - return 1; -#elif defined(Q_WS_X11) +#if (defined(Q_WS_MAC) && defined(QT_MAC_USE_COCOA)) || defined(Q_WS_X11) return 0; #else return m_type == QFontEngineGlyphCache::Raster_RGBMask ? 2 : 0; |