From ec44a917f642df5bcecb65f6133190b5ec604447 Mon Sep 17 00:00:00 2001 From: Andreas Holzammer Date: Thu, 20 Sep 2012 13:40:13 +0200 Subject: [PATCH] (WINCE)Add failure for font outline function There is no outline function in Windows CE, so add a failure to inform the user that, he needs to switch the font rendering. Change-Id: Ieceb68bec49a88c7f7eee99f1c62cf1701da6aec Reviewed-by: Miikka Heikkinen Reviewed-by: Joerg Bornemann --- src/plugins/platforms/windows/qplatformfunctions_wince.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/platforms/windows/qplatformfunctions_wince.h b/src/plugins/platforms/windows/qplatformfunctions_wince.h index d08bbd8bba..0ad26f4b54 100644 --- a/src/plugins/platforms/windows/qplatformfunctions_wince.h +++ b/src/plugins/platforms/windows/qplatformfunctions_wince.h @@ -292,6 +292,8 @@ inline void OleUninitialize() inline DWORD GetGlyphOutline( HDC /*hdc*/, UINT /*uChar*/, INT /*fuFormat*/, GLYPHMETRICS * /*lpgm*/, DWORD /*cjBuffer*/, LPVOID /*pvBuffer*/, CONST MAT2 * /*lpmat2*/ ) { + qFatal("GetGlyphOutline not supported under Windows CE. Please try using freetype fontrendering, by" + "passing -platform windows:freetype as arguments to the application."); return GDI_ERROR; }