diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index b5b91d1ed30..46455bc3204 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -416,7 +416,7 @@ ftfont_list (frame, spec) | |||
| 416 | spacing = XINT (XCDR (tmp)); | 416 | spacing = XINT (XCDR (tmp)); |
| 417 | tmp = assq_no_quit (QCscalable, extra); | 417 | tmp = assq_no_quit (QCscalable, extra); |
| 418 | if (CONSP (tmp)) | 418 | if (CONSP (tmp)) |
| 419 | spacing = ! NILP (XCDR (tmp)); | 419 | scalable = ! NILP (XCDR (tmp)); |
| 420 | } | 420 | } |
| 421 | 421 | ||
| 422 | if (STRINGP (font_name)) | 422 | if (STRINGP (font_name)) |
| @@ -462,7 +462,7 @@ ftfont_list (frame, spec) | |||
| 462 | && ! FcPatternAddInteger (pattern, FC_SPACING, spacing)) | 462 | && ! FcPatternAddInteger (pattern, FC_SPACING, spacing)) |
| 463 | goto err; | 463 | goto err; |
| 464 | if (scalable >= 0 | 464 | if (scalable >= 0 |
| 465 | && ! FcPatternAddBool (pattern, FC_SPACING, spacing ? FcTrue : FcFalse)) | 465 | && ! FcPatternAddBool (pattern, FC_SCALABLE, scalable ? FcTrue : FcFalse)) |
| 466 | goto err; | 466 | goto err; |
| 467 | 467 | ||
| 468 | objset = FcObjectSetBuild (FC_FOUNDRY, FC_FAMILY, FC_WEIGHT, FC_SLANT, | 468 | objset = FcObjectSetBuild (FC_FOUNDRY, FC_FAMILY, FC_WEIGHT, FC_SLANT, |