Check ANTIALISED_QUALITY and CLEARTYPE_QUALITY in LOGFONT.
Glenn Wurster
gwurster at scs.carleton.ca
Wed Jan 19 13:25:58 CST 2005
Note: This patch depends on the split glyph cache patch.
As per suggestions by Dmitry Timoshkov, if the NONANTIALISED_QUALITY
flag is set in the font, we should not antialias the font.
Author:
Glenn Wurster (gwurster at scs.carleton.ca)
Changelog:
* Disable antialiasing if the font dictates it.
Index: dlls/x11drv/xrender.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/xrender.c,v
retrieving revision 1.54
diff -u -r1.54 xrender.c
--- dlls/x11drv/xrender.c 3 Jan 2005 14:56:42 -0000 1.54
+++ dlls/x11drv/xrender.c 13 Jan 2005 03:20:38 -0000
@@ -415,7 +415,7 @@
assert( !entry->format[format] );
}
- if(antialias)
+ if(antialias && plfsz->lf.lfQuality != NONANTIALIASED_QUALITY)
entry->aa_default = AA_Grey;
else
entry->aa_default = AA_None;
More information about the wine-patches
mailing list