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