mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 23:18:39 +00:00
[WIN32SS][FONT] Improve Precision Penalty (#1006)
This commit is contained in:
parent
8bb1b39f66
commit
4abba2b7ac
1 changed files with 3 additions and 2 deletions
|
@ -4456,10 +4456,11 @@ GetFontPenalty(const LOGFONTW * LogFont,
|
||||||
}
|
}
|
||||||
|
|
||||||
Byte = LogFont->lfOutPrecision;
|
Byte = LogFont->lfOutPrecision;
|
||||||
if (Byte == OUT_DEFAULT_PRECIS)
|
|
||||||
Byte = OUT_OUTLINE_PRECIS; /* Is it OK? */
|
|
||||||
switch (Byte)
|
switch (Byte)
|
||||||
{
|
{
|
||||||
|
case OUT_DEFAULT_PRECIS:
|
||||||
|
/* nothing to do */
|
||||||
|
break;
|
||||||
case OUT_DEVICE_PRECIS:
|
case OUT_DEVICE_PRECIS:
|
||||||
if (!(TM->tmPitchAndFamily & TMPF_DEVICE) ||
|
if (!(TM->tmPitchAndFamily & TMPF_DEVICE) ||
|
||||||
!(TM->tmPitchAndFamily & (TMPF_VECTOR | TMPF_TRUETYPE)))
|
!(TM->tmPitchAndFamily & (TMPF_VECTOR | TMPF_TRUETYPE)))
|
||||||
|
|
Loading…
Reference in a new issue