summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorAndreas Holzammer <andreas.holzammer@kdab.com>2012-08-20 11:25:41 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-20 12:25:03 +0200
commitf2fabf77f9bc18448aed0e99a6d7d1d6c5c9c736 (patch)
treeaaacf638df625932228c72ace6111a69a46abebb /src/3rdparty
parent806dda08d685bc5f9ed71dfe8b61f21848d48066 (diff)
Fix freetype font rendering for Windows CE
Windows CE does not have support for GetGlyphOutline. So addGlyphToPath will not work. QML uses it for their distance field rendering. One option to bypass this issue is to use freetype as rendering backend. Change-Id: I965254344945cbdad771a5d505fb61c1cc2087df Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/freetype/src/gzip/zutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/freetype/src/gzip/zutil.h b/src/3rdparty/freetype/src/gzip/zutil.h
index 8e3c69a9f0..9560b48203 100644
--- a/src/3rdparty/freetype/src/gzip/zutil.h
+++ b/src/3rdparty/freetype/src/gzip/zutil.h
@@ -182,7 +182,7 @@ typedef unsigned long ulg;
#endif
/* Diagnostic functions */
-#ifdef DEBUG
+#if defined(DEBUG) && !defined(_WIN32_WCE)
# include <stdio.h>
extern int z_verbose;
extern void z_error OF((char *m));