gdi32: Enumerate scalable fonts with zero charset mask as OEM.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51041
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 8241d21ae0)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-04-28 00:03:51 +03:00 committed by Michael Stefaniuc
parent d312b7ac50
commit 499448fb21
1 changed files with 1 additions and 1 deletions

View File

@ -2816,7 +2816,7 @@ static BOOL enum_face_charsets( const struct gdi_font_family *family, struct gdi
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
{ {
if (!face->scalable && face->fs.fsCsb[0] == 0) /* OEM bitmap */ if (face->fs.fsCsb[0] == 0) /* OEM */
{ {
elf.elfLogFont.lfCharSet = ntm.ntmTm.tmCharSet = OEM_CHARSET; elf.elfLogFont.lfCharSet = ntm.ntmTm.tmCharSet = OEM_CHARSET;
load_script_name( IDS_OEM_DOS - IDS_FIRST_SCRIPT, elf.elfScript ); load_script_name( IDS_OEM_DOS - IDS_FIRST_SCRIPT, elf.elfScript );