gdi32: Trace charmap encoding as 4 bytes tag.

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:
Nikolay Sivov 2017-04-06 14:07:05 +03:00 committed by Alexandre Julliard
parent e7afcb9850
commit 215e8b10a8
1 changed files with 6 additions and 2 deletions

View File

@ -8389,7 +8389,10 @@ static DWORD get_font_unicode_ranges(FT_Face face, GLYPHSET *gs)
}
}
else
FIXME("encoding %u not supported\n", face->charmap->encoding);
{
DWORD encoding = RtlUlongByteSwap(face->charmap->encoding);
FIXME("encoding %s not supported\n", debugstr_an((char *)&encoding, 4));
}
return num_ranges;
}
@ -8701,9 +8704,10 @@ static DWORD freetype_GetKerningPairs( PHYSDEV dev, DWORD cPairs, KERNINGPAIR *k
}
else
{
DWORD encoding = RtlUlongByteSwap(font->ft_face->charmap->encoding);
ULONG n;
FIXME("encoding %u not supported\n", font->ft_face->charmap->encoding);
FIXME("encoding %s not supported\n", debugstr_an((char *)&encoding, 4));
for (n = 0; n <= 65535; n++)
glyph_to_char[n] = (USHORT)n;
}