Mercurial > emacs
changeset 90522:90f8df2248ad
(ftfont_list): Fix typo.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 07 Jul 2006 01:07:45 +0000 |
parents | b81a8a5635a8 |
children | 5cb3d86fe6f0 |
files | src/ftfont.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ftfont.c Fri Jul 07 01:06:18 2006 +0000 +++ b/src/ftfont.c Fri Jul 07 01:07:45 2006 +0000 @@ -416,7 +416,7 @@ spacing = XINT (XCDR (tmp)); tmp = assq_no_quit (QCscalable, extra); if (CONSP (tmp)) - spacing = ! NILP (XCDR (tmp)); + scalable = ! NILP (XCDR (tmp)); } if (STRINGP (font_name)) @@ -462,7 +462,7 @@ && ! FcPatternAddInteger (pattern, FC_SPACING, spacing)) goto err; if (scalable >= 0 - && ! FcPatternAddBool (pattern, FC_SPACING, spacing ? FcTrue : FcFalse)) + && ! FcPatternAddBool (pattern, FC_SCALABLE, scalable ? FcTrue : FcFalse)) goto err; objset = FcObjectSetBuild (FC_FOUNDRY, FC_FAMILY, FC_WEIGHT, FC_SLANT,