mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 05:28:14 +00:00
parent
9eb82c499f
commit
93757884c1
1 changed files with 7 additions and 6 deletions
|
@ -4581,12 +4581,13 @@ GetFontPenalty(const LOGFONTW * LogFont,
|
|||
/* Requested a family, but the candidate's family is different. */
|
||||
GOT_PENALTY("Family", 9000);
|
||||
}
|
||||
if ((TM->tmPitchAndFamily & 0xF0) == FF_DONTCARE)
|
||||
{
|
||||
/* FamilyUnknown Penalty 8000 */
|
||||
/* Requested a family, but the candidate has no family. */
|
||||
GOT_PENALTY("FamilyUnknown", 8000);
|
||||
}
|
||||
}
|
||||
|
||||
if ((TM->tmPitchAndFamily & 0xF0) == FF_DONTCARE)
|
||||
{
|
||||
/* FamilyUnknown Penalty 8000 */
|
||||
/* Requested a family, but the candidate has no family. */
|
||||
GOT_PENALTY("FamilyUnknown", 8000);
|
||||
}
|
||||
|
||||
/* Is the candidate a non-vector font? */
|
||||
|
|
Loading…
Reference in a new issue