forked from Mirrors/wine-wine
gdi32: In a Hebrew locale the last char of a symbol font is reported as 0xf896 rather than 0xf0ff.
parent
87bfb306bd
commit
c66f0019ff
|
@ -7390,6 +7390,9 @@ static BOOL get_outline_text_metrics(GdiFont *font)
|
||||||
TM.tmFirstChar = 0;
|
TM.tmFirstChar = 0;
|
||||||
switch(GetACP())
|
switch(GetACP())
|
||||||
{
|
{
|
||||||
|
case 1255: /* Hebrew */
|
||||||
|
TM.tmLastChar = 0xf896;
|
||||||
|
break;
|
||||||
case 1257: /* Baltic */
|
case 1257: /* Baltic */
|
||||||
TM.tmLastChar = 0xf8fd;
|
TM.tmLastChar = 0xf8fd;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -3543,6 +3543,9 @@ static void test_text_metrics(const LOGFONTA *lf, const NEWTEXTMETRICA *ntm)
|
||||||
expect_first_W = 0;
|
expect_first_W = 0;
|
||||||
switch(GetACP())
|
switch(GetACP())
|
||||||
{
|
{
|
||||||
|
case 1255: /* Hebrew */
|
||||||
|
expect_last_W = 0xf896;
|
||||||
|
break;
|
||||||
case 1257: /* Baltic */
|
case 1257: /* Baltic */
|
||||||
expect_last_W = 0xf8fd;
|
expect_last_W = 0xf8fd;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue