From: Kenichi Handa Date: Sat, 21 Jun 2008 11:15:04 +0000 (+0000) Subject: (xftfont_open): Handle QCembolden only when FC_EMBOLDEN is defined. X-Git-Tag: emacs-pretest-23.0.90~4614 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=808dd567ef8b88cddf8b2b4eb6f8c3f9c5a3a262;p=emacs.git (xftfont_open): Handle QCembolden only when FC_EMBOLDEN is defined. --- diff --git a/src/ChangeLog b/src/ChangeLog index fb583123321..7ee88c21cfc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-06-21 Kenichi Handa + + * xftfont.c (xftfont_open): Handle QCembolden only when + FC_EMBOLDEN is defined. + 2008-06-21 Andreas Schwab * Makefile.in (witness-emacs): Use ../lisp, not $(lispsource). diff --git a/src/xftfont.c b/src/xftfont.c index aa6c270e647..c6aab049b4c 100644 --- a/src/xftfont.c +++ b/src/xftfont.c @@ -257,8 +257,10 @@ xftfont_open (f, entity, pixel_size) 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);