Mercurial > emacs
changeset 96146:e26d249d40df
(xftfont_open): Handle QCembolden only when FC_EMBOLDEN is defined.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sat, 21 Jun 2008 11:12:55 +0000 |
parents | 598aca8e5d9d |
children | 27b1a24abf23 |
files | src/xftfont.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xftfont.c Sat Jun 21 09:00:49 2008 +0000 +++ b/src/xftfont.c Sat Jun 21 11:12:55 2008 +0000 @@ -257,8 +257,10 @@ if (INTEGERP (val)) FcPatternAddInteger (pat, FC_RGBA, XINT (val)); } +#ifdef FC_EMBOLDEN else if (EQ (key, QCembolden)) FcPatternAddBool (pat, FC_EMBOLDEN, NILP (val) ? FcFalse : FcTrue); +#endif } FcConfigSubstitute (NULL, pat, FcMatchPattern);