From 46b14593e8bd0670f7fb1ad2a5630df86b74d800 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 12 May 2004 01:23:03 +0000 Subject: [PATCH] (mwin__xft_open): Fix previous change. --- src/m17n-X.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/m17n-X.c b/src/m17n-X.c index 6c2d817..ca2580c 100644 --- a/src/m17n-X.c +++ b/src/m17n-X.c @@ -2184,6 +2184,7 @@ mwin__xft_open (MFrame *frame, char *fontname, int size) font_info->frame = frame; pattern = XftNameParse (fontname); + XftPatternAddDouble (pattern, XFT_PIXEL_SIZE, (double) size); XftPatternAddBool (pattern, XFT_ANTIALIAS, 1); pattern = XftFontMatch (FRAME_DISPLAY (frame), FRAME_SCREEN (frame), pattern, &result); @@ -2191,6 +2192,7 @@ mwin__xft_open (MFrame *frame, char *fontname, int size) if (! font_info->font_aa) goto err; pattern = XftNameParse (fontname); + XftPatternAddDouble (pattern, XFT_PIXEL_SIZE, (double) size); XftPatternAddBool (pattern, XFT_ANTIALIAS, 0); pattern = XftFontMatch (FRAME_DISPLAY (frame), FRAME_SCREEN (frame), pattern, &result); -- 1.7.10.4