mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +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;
|
||||
if (Byte == OUT_DEFAULT_PRECIS)
|
||||
Byte = OUT_OUTLINE_PRECIS; /* Is it OK? */
|
||||
switch (Byte)
|
||||
{
|
||||
case OUT_DEFAULT_PRECIS:
|
||||
/* nothing to do */
|
||||
break;
|
||||
case OUT_DEVICE_PRECIS:
|
||||
if (!(TM->tmPitchAndFamily & TMPF_DEVICE) ||
|
||||
!(TM->tmPitchAndFamily & (TMPF_VECTOR | TMPF_TRUETYPE)))
|
||||
|
|
Loading…
Reference in a new issue