From: handa Date: Sat, 22 May 2004 01:09:16 +0000 (+0000) Subject: (xft_open_font): Fix anti_alias setting. X-Git-Tag: withdl~191 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b9bdd9178d1ffb49d4ba5eb797de5afbb5925ece;p=m17n%2Fm17n-lib.git (xft_open_font): Fix anti_alias setting. --- 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;