[GDI32] Revise IntTMWFixUp Raster Font List (#3808)

CORE-17662
CORE-17723
This commit is contained in:
Doug Lyons 2021-08-09 06:07:04 -05:00 committed by GitHub
parent a81ad376a1
commit ad8d8b6628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}