- if (Byte & FF_MODERN)
- {
- if (TM->tmPitchAndFamily & _TMPF_VARIABLE_PITCH)
- {
- /* FixedPitch Penalty 15000 */
- /* Requested a fixed pitch font, but the candidate is a
- variable pitch font. */
- Penalty += 15000;
- }
- }
-
- if ((Byte & FF_ROMAN) || (Byte & FF_SWISS))
- {
- if (!(TM->tmPitchAndFamily & _TMPF_VARIABLE_PITCH))
- {
- /* PitchVariable Penalty 350 */
- /* Requested a variable pitch font, but the candidate is not a
- variable pitch font. */
- Penalty += 350;
- }
- }
-
-#define FF_MASK (FF_DECORATIVE | FF_SCRIPT | FF_SWISS)
- if ((Byte & FF_MASK) != (TM->tmPitchAndFamily & FF_MASK))