mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[GDI32] Revise IntTMWFixUp Raster Font List (#3808)
CORE-17662 CORE-17723
This commit is contained in:
parent
a81ad376a1
commit
ad8d8b6628
1 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue