https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ad8d8b662846cb4060d22…
commit ad8d8b662846cb4060d22c4bb16897c8a352794c
Author: Doug Lyons <douglyons(a)douglyons.com>
AuthorDate: Mon Aug 9 06:07:04 2021 -0500
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Aug 9 13:07:04 2021 +0200
[GDI32] Revise IntTMWFixUp Raster Font List (#3808)
CORE-17662
CORE-17723
---
win32ss/gdi/ntgdi/text.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/win32ss/gdi/ntgdi/text.c b/win32ss/gdi/ntgdi/text.c
index 8de0855558e..2c252494da6 100644
--- a/win32ss/gdi/ntgdi/text.c
+++ b/win32ss/gdi/ntgdi/text.c
@@ -42,14 +42,14 @@ IntTMWFixUp(
* out the problematic TrueType and Vector bits.
* Our list below checks for Raster Font Facenames. */
DPRINT("Font Facename is '%S'.\n", lf.lfFaceName);
- if ((wcsicmp(lf.lfFaceName, L"Helv") == 0) ||
- (wcsicmp(lf.lfFaceName, L"Courier") == 0) ||
+ if ((wcsicmp(lf.lfFaceName, L"Courier") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"FixedSys") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"Helv") == 0) ||
(wcsicmp(lf.lfFaceName, L"MS Sans Serif") == 0) ||
(wcsicmp(lf.lfFaceName, L"MS Serif") == 0) ||
- (wcsicmp(lf.lfFaceName, L"Times New Roman") == 0) ||
- (wcsicmp(lf.lfFaceName, L"MS Shell Dlg") == 0) ||
(wcsicmp(lf.lfFaceName, L"System") == 0) ||
- (wcsicmp(lf.lfFaceName, L"Terminal") == 0))
+ (wcsicmp(lf.lfFaceName, L"Terminal") == 0) ||
+ (wcsicmp(lf.lfFaceName, L"Tms Rmn") == 0))
{
ptm->TextMetric.tmPitchAndFamily &= ~(TMPF_TRUETYPE | TMPF_VECTOR);
}