gdi32: Simplify font table name tracing.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d19ff2d828
commit
492b10ef6c
|
@ -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
|
||||||
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 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue