Change the default weight on match to FC_WEIGHT_NORMAL
This commit is contained in:
parent
65872e9e46
commit
525a135ccf
|
@ -219,7 +219,7 @@ FcDefaultSubstitute (FcPattern *pattern)
|
|||
int i;
|
||||
|
||||
if (FcPatternObjectGet (pattern, FC_WEIGHT_OBJECT, 0, &v) == FcResultNoMatch )
|
||||
FcPatternObjectAddInteger (pattern, FC_WEIGHT_OBJECT, FC_WEIGHT_MEDIUM);
|
||||
FcPatternObjectAddInteger (pattern, FC_WEIGHT_OBJECT, FC_WEIGHT_NORMAL);
|
||||
|
||||
if (FcPatternObjectGet (pattern, FC_SLANT_OBJECT, 0, &v) == FcResultNoMatch)
|
||||
FcPatternObjectAddInteger (pattern, FC_SLANT_OBJECT, FC_SLANT_ROMAN);
|
||||
|
|
Loading…
Reference in New Issue