From: Kenichi Handa Date: Mon, 21 Aug 2006 12:50:21 +0000 (+0000) Subject: (xftfont_open): Call XftDefaultSubstitute before X-Git-Tag: emacs-pretest-23.0.90~8295^2~761 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4f4426f9b27768c1cadda556dfe466c86f566265;p=emacs.git (xftfont_open): Call XftDefaultSubstitute before opening a font. --- diff --git a/src/xftfont.c b/src/xftfont.c index d84eb4eb943..f6602496f5a 100644 --- a/src/xftfont.c +++ b/src/xftfont.c @@ -240,6 +240,7 @@ xftfont_open (f, entity, pixel_size) FcPatternAddBool (pat, FC_ANTIALIAS, FcTrue); BLOCK_INPUT; + XftDefaultSubstitute (display, FRAME_X_SCREEN_NUMBER (f), pat); xftfont = XftFontOpenPattern (display, pat); /* We should not destroy PAT here because it is kept in XFTFONT and destroyed automatically when XFTFONT is closed. */