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

oldstable
Huw Davies 2014-05-07 14:51:11 +01:00 committed by Alexandre Julliard
parent 87bfb306bd
commit c66f0019ff
2 changed files with 6 additions and 0 deletions

View File

@ -7390,6 +7390,9 @@ static BOOL get_outline_text_metrics(GdiFont *font)
TM.tmFirstChar = 0;
switch(GetACP())
{
case 1255: /* Hebrew */
TM.tmLastChar = 0xf896;
break;
case 1257: /* Baltic */
TM.tmLastChar = 0xf8fd;
break;

View File

@ -3543,6 +3543,9 @@ static void test_text_metrics(const LOGFONTA *lf, const NEWTEXTMETRICA *ntm)
expect_first_W = 0;
switch(GetACP())
{
case 1255: /* Hebrew */
expect_last_W = 0xf896;
break;
case 1257: /* Baltic */
expect_last_W = 0xf8fd;
break;