Mercurial > emacs
changeset 90589:697dcc1df88d
(xftfont_open): Call XftDefaultSubstitute before
opening a font.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 21 Aug 2006 12:50:21 +0000 |
parents | 3cc17c82c7df |
children | bad57814fca3 |
files | src/xftfont.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xftfont.c Mon Aug 21 12:49:41 2006 +0000 +++ b/src/xftfont.c Mon Aug 21 12:50:21 2006 +0000 @@ -240,6 +240,7 @@ 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. */