summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2010-03-09 09:07:32 (GMT)
committerJason Barron <jbarron@trolltech.com>2010-07-12 07:03:13 (GMT)
commit3606cd38f7fbcfb9a9d6cb43d5a99da65891e0b1 (patch)
treea7836b34ccd0b5496db02c62c88b1b258f21d0e3 /src
parent420f10e0e13a744dc6a6b47f55f39138a9618641 (diff)
downloadQt-3606cd38f7fbcfb9a9d6cb43d5a99da65891e0b1.zip
Qt-3606cd38f7fbcfb9a9d6cb43d5a99da65891e0b1.tar.gz
Qt-3606cd38f7fbcfb9a9d6cb43d5a99da65891e0b1.tar.bz2
Don't invert glyphs for the default VG font cache on Symbian.
If the hardware glyph cache API is not represent and in use, then the glyphs will not be inverted. Reviewed-by: TrustMe
Diffstat (limited to 'src')
-rw-r--r--src/openvg/qvg_symbian.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvg/qvg_symbian.cpp b/src/openvg/qvg_symbian.cpp
index 8c954e6..214fedf 100644
--- a/src/openvg/qvg_symbian.cpp
+++ b/src/openvg/qvg_symbian.cpp
@@ -324,7 +324,9 @@ void* QVGPixmapData::toNativeType(NativeType type)
QSymbianVGFontGlyphCache::QSymbianVGFontGlyphCache() : QVGFontGlyphCache()
{
+#ifdef QT_SYMBIAN_HARDWARE_GLYPH_CACHE
invertedGlyphs = true;
+#endif
}
void QSymbianVGFontGlyphCache::cacheGlyphs(QVGPaintEnginePrivate *d,