dlls/gdi32/font.c: Use FIXME_ONCE for quieter reports.
Max TenEyck Woodbury
max at mtew.isa-geek.net
Wed Jul 14 15:15:03 CDT 2010
---
dlls/gdi32/font.c | 36 +++++++++++++++++-------------------
1 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index 2d51445..29f2c9f 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -331,7 +331,7 @@ HFONT WINAPI CreateFontIndirectExW( const ENUMLOGFONTEXDVW *penumex )
penumex->elfEnumLogfontEx.elfStyle[0] ||
penumex->elfEnumLogfontEx.elfScript[0])
{
- FIXME("some fields ignored. fullname=%s, style=%s, script=%s\n",
+ FIXME_ONCE("some fields ignored. fullname=%s, style=%s, script=%s\n",
debugstr_w(penumex->elfEnumLogfontEx.elfFullName),
debugstr_w(penumex->elfEnumLogfontEx.elfStyle),
debugstr_w(penumex->elfEnumLogfontEx.elfScript));
@@ -982,7 +982,7 @@ BOOL WINAPI GetTextExtentExPointI( HDC hdc, const WORD *indices, INT count, INT
size->cx += count * dc->charExtra;
}
else if(dc->funcs->pGetTextExtentExPoint) {
- FIXME("calling GetTextExtentExPoint\n");
+ FIXME_ONCE("calling GetTextExtentExPoint\n");
ret = dc->funcs->pGetTextExtentExPoint( dc->physDev, indices, count,
max_ext, nfit, dxs, size );
}
@@ -1727,16 +1727,14 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
DWORD type;
DC * dc = get_dc_ptr( hdc );
INT breakRem;
- static int quietfixme = 0;
if (!dc) return FALSE;
breakRem = dc->breakRem;
- if (quietfixme == 0 && flags & (ETO_NUMERICSLOCAL | ETO_NUMERICSLATIN))
+ if (flags & (ETO_NUMERICSLOCAL | ETO_NUMERICSLATIN))
{
- FIXME("flags ETO_NUMERICSLOCAL | ETO_NUMERICSLATIN unimplemented\n");
- quietfixme = 1;
+ FIXME_ONCE("flags ETO_NUMERICSLOCAL | ETO_NUMERICSLATIN unimplemented\n");
}
if (!dc->funcs->pExtTextOut && !PATH_IsPathOpen(dc->path))
{
@@ -2269,7 +2267,7 @@ DWORD WINAPI SetMapperFlags( HDC hDC, DWORD dwFlag )
/* FIXME: ret is just a success flag, we should return a proper value */
}
else
- FIXME("(%p, 0x%08x): stub - harmless\n", hDC, dwFlag);
+ FIXME_ONCE("(%p, 0x%08x): stub - harmless\n", hDC, dwFlag);
release_dc_ptr( dc );
return ret;
}
@@ -2279,7 +2277,7 @@ DWORD WINAPI SetMapperFlags( HDC hDC, DWORD dwFlag )
*/
BOOL WINAPI GetAspectRatioFilterEx( HDC hdc, LPSIZE pAspectRatio )
{
- FIXME("(%p, %p): -- Empty Stub !\n", hdc, pAspectRatio);
+ FIXME_ONCE("(%p, %p): -- Empty Stub !\n", hdc, pAspectRatio);
return FALSE;
}
@@ -2358,7 +2356,7 @@ BOOL WINAPI GetCharABCWidthsW( HDC hdc, UINT firstChar, UINT lastChar,
if(dc->gdiFont)
ret = WineEngGetCharABCWidths( dc->gdiFont, firstChar, lastChar, abc );
else
- FIXME(": stub\n");
+ FIXME_ONCE(": stub\n");
if (ret)
{
@@ -2413,7 +2411,7 @@ BOOL WINAPI GetCharABCWidthsI( HDC hdc, UINT firstChar, UINT count,
if(dc->gdiFont)
ret = WineEngGetCharABCWidthsI( dc->gdiFont, firstChar, count, pgi, abc );
else
- FIXME(": stub\n");
+ FIXME_ONCE(": stub\n");
if (ret)
{
@@ -2548,7 +2546,7 @@ BOOL WINAPI CreateScalableFontResourceW( DWORD fHidden,
LPCWSTR lpszCurrentPath )
{
HANDLE f;
- FIXME("(%d,%s,%s,%s): stub\n",
+ FIXME_ONCE("(%d,%s,%s,%s): stub\n",
fHidden, debugstr_w(lpszResourceFile), debugstr_w(lpszFontFile),
debugstr_w(lpszCurrentPath) );
@@ -2908,10 +2906,10 @@ GetCharacterPlacementW(
lpResults->lpDx, lpResults->lpCaretPos, lpResults->lpClass,
lpResults->lpGlyphs, lpResults->nGlyphs, lpResults->nMaxFit);
- if(dwFlags&(~GCP_REORDER)) FIXME("flags 0x%08x ignored\n", dwFlags);
- if(lpResults->lpClass) FIXME("classes not implemented\n");
+ if(dwFlags&(~GCP_REORDER)) FIXME("flags 0x%08x ignored\n", dwFlags);
+ if(lpResults->lpClass) FIXME_ONCE("classes not implemented\n");
if (lpResults->lpCaretPos && (dwFlags & GCP_REORDER))
- FIXME("Caret positions for complex scripts not implemented\n");
+ FIXME_ONCE("Caret positions for complex scripts not implemented\n");
nSet = (UINT)uCount;
if(nSet > lpResults->nGlyphs)
@@ -3039,7 +3037,7 @@ BOOL WINAPI GetCharABCWidthsFloatW( HDC hdc, UINT first, UINT last, LPABCFLOAT a
if (dc->gdiFont)
ret = WineEngGetCharABCWidthsFloat( dc->gdiFont, first, last, abcf );
else
- FIXME("stub\n");
+ FIXME_ONCE("stub\n");
if (ret)
{
@@ -3062,7 +3060,7 @@ BOOL WINAPI GetCharABCWidthsFloatW( HDC hdc, UINT first, UINT last, LPABCFLOAT a
BOOL WINAPI GetCharWidthFloatA(HDC hdc, UINT iFirstChar,
UINT iLastChar, PFLOAT pxBuffer)
{
- FIXME("%p, %u, %u, %p: stub!\n", hdc, iFirstChar, iLastChar, pxBuffer);
+ FIXME_ONCE("%p, %u, %u, %p: stub!\n", hdc, iFirstChar, iLastChar, pxBuffer);
return 0;
}
@@ -3072,7 +3070,7 @@ BOOL WINAPI GetCharWidthFloatA(HDC hdc, UINT iFirstChar,
BOOL WINAPI GetCharWidthFloatW(HDC hdc, UINT iFirstChar,
UINT iLastChar, PFLOAT pxBuffer)
{
- FIXME("%p, %u, %u, %p: stub!\n", hdc, iFirstChar, iLastChar, pxBuffer);
+ FIXME_ONCE("%p, %u, %u, %p: stub!\n", hdc, iFirstChar, iLastChar, pxBuffer);
return 0;
}
@@ -3188,7 +3186,7 @@ HANDLE WINAPI AddFontMemResourceEx( PVOID pbFont, DWORD cbFont, PVOID pdv, DWORD
*/
BOOL WINAPI RemoveFontMemResourceEx( HANDLE fh )
{
- FIXME("(%p) stub\n", fh);
+ FIXME_ONCE("(%p) stub\n", fh);
return TRUE;
}
@@ -3287,7 +3285,7 @@ LONG WINAPI GdiGetCharDimensions(HDC hdc, LPTEXTMETRICW lptm, LONG *height)
BOOL WINAPI EnableEUDC(BOOL fEnableEUDC)
{
- FIXME("(%d): stub\n", fEnableEUDC);
+ FIXME_ONCE("(%d): stub\n", fEnableEUDC);
return FALSE;
}
--
1.7.1.1
More information about the wine-patches
mailing list