From 6bf0b9022256f17faa6bc2dae09caa862dd18dd3 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Tue, 17 Oct 2006 13:27:09 +0000 Subject: Added windows to the list of platforms able to exploit anti aliased glyphs in SuckGlyphsFromServer. --- generic/Image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generic/Image.c') diff --git a/generic/Image.c b/generic/Image.c index 2c7244d..f0ab878 100644 --- a/generic/Image.c +++ b/generic/Image.c @@ -1325,7 +1325,7 @@ SuckGlyphsFromServer(ZnWInfo *wi, could either do tighter packing in the pixmap or more efficient extraction from the image. Oh well. */ pixel = XGetPixel(image, (int) (j*maxSpanLength*8) + x, y); -#ifdef MAC_OSX_TK +#if defined(MAC_OSX_TK) || defined(_WIN32) *to = 255 - (pixel & 0xFF); #else if (pixel == black->pixel) { -- cgit v1.1