Commit 24c9a37a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32: In a Baltic locale the last char of a symbol font is reported as 0xf8fd rather than 0xf0ff.

parent aecf29ae
......@@ -5399,7 +5399,14 @@ UINT WineEngGetOutlineTextMetrics(GdiFont *font, UINT cbSize,
if (font->charset == SYMBOL_CHARSET || (pOS2->usFirstCharIndex >= 0xf000 && pOS2->usFirstCharIndex < 0xf100))
{
TM.tmFirstChar = 0;
TM.tmLastChar = 0xf0ff;
switch(GetACP())
{
case 1257: /* Baltic */
TM.tmLastChar = 0xf8fd;
break;
default:
TM.tmLastChar = 0xf0ff;
}
TM.tmBreakChar = 0x20;
TM.tmDefaultChar = 0x1f;
}
......
......@@ -2277,7 +2277,14 @@ static void test_text_metrics(const LOGFONTA *lf)
if (lf->lfCharSet == SYMBOL_CHARSET || (cmap_first >= 0xf000 && cmap_first < 0xf100))
{
expect_first_W = 0;
expect_last_W = 0xf0ff;
switch(GetACP())
{
case 1257: /* Baltic */
expect_last_W = 0xf8fd;
break;
default:
expect_last_W = 0xf0ff;
}
expect_break_W = 0x20;
expect_default_W = expect_break_W - 1;
expect_first_A = 0x1e;
......
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