From b9bdd9178d1ffb49d4ba5eb797de5afbb5925ece Mon Sep 17 00:00:00 2001 From: handa Date: Sat, 22 May 2004 01:09:16 +0000 Subject: [PATCH] (xft_open_font): Fix anti_alias setting. --- src/m17n-X.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/m17n-X.c b/src/m17n-X.c index a87aac7..7d28516 100644 --- a/src/m17n-X.c +++ b/src/m17n-X.c @@ -1038,7 +1038,7 @@ xft_open_font (MFrame *frame, MFTInfo *ft_info, int size, int anti_alias) pattern = XftPatternCreate (); XftPatternAddString (pattern, XFT_FILE, ft_info->filename); XftPatternAddDouble (pattern, XFT_PIXEL_SIZE, (double) size); - XftPatternAddBool (pattern, XFT_ANTIALIAS, 1); + XftPatternAddBool (pattern, XFT_ANTIALIAS, anti_alias); xft_font_info = XftFontInfoCreate (FRAME_DISPLAY (frame), pattern); if (! xft_font_info) return NULL; -- 1.7.10.4