(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 <miikka.heikkinen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Andreas Holzammer 2012-09-20 13:40:13 +02:00 committed by The Qt Project
parent fb46b00eef
commit ec44a917f6

View File

@ -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;
}