Commit 492b10ef authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdi32: Simplify font table name tracing.

parent d19ff2d8
...@@ -4709,10 +4709,8 @@ static DWORD get_font_data( GdiFont *font, DWORD table, DWORD offset, LPVOID buf ...@@ -4709,10 +4709,8 @@ static DWORD get_font_data( GdiFont *font, DWORD table, DWORD offset, LPVOID buf
err = pFT_Load_Sfnt_Table(ft_face, table, offset, buf, &len); err = pFT_Load_Sfnt_Table(ft_face, table, offset, buf, &len);
if (err) if (err)
{ {
TRACE("Can't find table %c%c%c%c\n", table = RtlUlongByteSwap( table );
/* bytes were reversed */ TRACE("Can't find table %s\n", debugstr_an((char*)&table, 4));
HIBYTE(HIWORD(table)), LOBYTE(HIWORD(table)),
HIBYTE(LOWORD(table)), LOBYTE(LOWORD(table)));
return GDI_ERROR; return GDI_ERROR;
} }
return len; return len;
...@@ -8281,9 +8279,8 @@ static DWORD freetype_GetFontData( PHYSDEV dev, DWORD table, DWORD offset, LPVOI ...@@ -8281,9 +8279,8 @@ static DWORD freetype_GetFontData( PHYSDEV dev, DWORD table, DWORD offset, LPVOI
return dev->funcs->pGetFontData( dev, table, offset, buf, cbData ); return dev->funcs->pGetFontData( dev, table, offset, buf, cbData );
} }
TRACE("font=%p, table=%c%c%c%c, offset=0x%x, buf=%p, cbData=0x%x\n", TRACE("font=%p, table=%s, offset=0x%x, buf=%p, cbData=0x%x\n",
physdev->font, LOBYTE(LOWORD(table)), HIBYTE(LOWORD(table)), physdev->font, debugstr_an((char*)&table, 4), offset, buf, cbData);
LOBYTE(HIWORD(table)), HIBYTE(HIWORD(table)), offset, buf, cbData);
return get_font_data( physdev->font, table, offset, buf, cbData ); return get_font_data( physdev->font, table, offset, buf, cbData );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment