diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftfont.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index 12d0d72d276..03e44ec30ee 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -225,8 +225,6 @@ ftfont_pattern_entity (FcPattern *p, Lisp_Object extra) | |||
| 225 | } | 225 | } |
| 226 | if (FcPatternGetInteger (p, FC_WEIGHT, 0, &numeric) == FcResultMatch) | 226 | if (FcPatternGetInteger (p, FC_WEIGHT, 0, &numeric) == FcResultMatch) |
| 227 | { | 227 | { |
| 228 | if (numeric >= FC_WEIGHT_REGULAR && numeric < FC_WEIGHT_MEDIUM) | ||
| 229 | numeric = FC_WEIGHT_MEDIUM; | ||
| 230 | FONT_SET_STYLE (entity, FONT_WEIGHT_INDEX, make_fixnum (numeric)); | 228 | FONT_SET_STYLE (entity, FONT_WEIGHT_INDEX, make_fixnum (numeric)); |
| 231 | } | 229 | } |
| 232 | if (FcPatternGetInteger (p, FC_SLANT, 0, &numeric) == FcResultMatch) | 230 | if (FcPatternGetInteger (p, FC_SLANT, 0, &numeric) == FcResultMatch) |