mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
committed by
GitHub
parent
9eb82c499f
commit
93757884c1
@@ -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? */
|
||||
|
||||
Reference in New Issue
Block a user