Skip to content

Commit ad8d8b6

Browse files
authored
[GDI32] Revise IntTMWFixUp Raster Font List (reactos#3808)
CORE-17662 CORE-17723
1 parent a81ad37 commit ad8d8b6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

win32ss/gdi/ntgdi/text.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ IntTMWFixUp(
4242
* out the problematic TrueType and Vector bits.
4343
* Our list below checks for Raster Font Facenames. */
4444
DPRINT("Font Facename is '%S'.\n", lf.lfFaceName);
45-
if ((wcsicmp(lf.lfFaceName, L"Helv") == 0) ||
46-
(wcsicmp(lf.lfFaceName, L"Courier") == 0) ||
45+
if ((wcsicmp(lf.lfFaceName, L"Courier") == 0) ||
46+
(wcsicmp(lf.lfFaceName, L"FixedSys") == 0) ||
47+
(wcsicmp(lf.lfFaceName, L"Helv") == 0) ||
4748
(wcsicmp(lf.lfFaceName, L"MS Sans Serif") == 0) ||
4849
(wcsicmp(lf.lfFaceName, L"MS Serif") == 0) ||
49-
(wcsicmp(lf.lfFaceName, L"Times New Roman") == 0) ||
50-
(wcsicmp(lf.lfFaceName, L"MS Shell Dlg") == 0) ||
5150
(wcsicmp(lf.lfFaceName, L"System") == 0) ||
52-
(wcsicmp(lf.lfFaceName, L"Terminal") == 0))
51+
(wcsicmp(lf.lfFaceName, L"Terminal") == 0) ||
52+
(wcsicmp(lf.lfFaceName, L"Tms Rmn") == 0))
5353
{
5454
ptm->TextMetric.tmPitchAndFamily &= ~(TMPF_TRUETYPE | TMPF_VECTOR);
5555
}

0 commit comments

Comments
 (0)