aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlecoanet2006-10-17 13:27:09 +0000
committerlecoanet2006-10-17 13:27:09 +0000
commit6bf0b9022256f17faa6bc2dae09caa862dd18dd3 (patch)
tree90b544012579b609dc52900b6efe0e4d8994d099
parent4dd265a9992c8cb734db97934798c1a9282aad5e (diff)
downloadtkzinc-6bf0b9022256f17faa6bc2dae09caa862dd18dd3.zip
tkzinc-6bf0b9022256f17faa6bc2dae09caa862dd18dd3.tar.gz
tkzinc-6bf0b9022256f17faa6bc2dae09caa862dd18dd3.tar.bz2
tkzinc-6bf0b9022256f17faa6bc2dae09caa862dd18dd3.tar.xz
Added windows to the list of platforms able to exploit anti aliased glyphs in
SuckGlyphsFromServer.
-rw-r--r--generic/Image.c2
1 files changed, 1 insertions, 1 deletions
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) {