From 1c33f570ca44c3698d4b458348a02519a953faea Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 10 May 2004 07:15:10 +0000 Subject: [PATCH] (mwin__xft_render): Don't use anti-alias if the device's depth is 1 (i.e. monochrome). --- 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 55a20c2..7012e56 100644 --- a/src/m17n-X.c +++ b/src/m17n-X.c @@ -2242,7 +2242,7 @@ mwin__xft_render (MDrawWindow win, int x, int y, XftColor *xft_color = (! reverse ? &((GCInfo *) rface->info)->xft_color_fore : &((GCInfo *) rface->info)->xft_color_back); - XftFont *xft_font = (gstring->control.anti_alias + XftFont *xft_font = (gstring->control.anti_alias && frame->device->depth > 1 ? font_info->font_aa : font_info->font_no_aa); MGlyph *g; FT_UInt *glyphs; -- 1.7.10.4