Fix: Anti-aliasing for font sizes >8 (fwd)
Dag Wieers
dag at wieers.com
Mon Sep 30 20:55:36 CDT 2002
I was told to send it here. I'm interested to hear feedback.
PS Include me in the Cc:, as I'm not subscribed. Thanks.
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
«Any errors in spelling, tact or fact are transmission errors»
---------- Forwarded message ----------
From: Dag Wieers <dag at wieers.com>
To: wine-devel at winehq.com
Organization: 3TI Web Hosting Services
Date: Sun, 29 Sep 2002 15:19:45 +0200 (CEST)
User-Agent: Mutt/1.2.5.1i
X-Mailer: Ximian Evolution 1.0.5
Subject: Fix: Anti-aliasing for font sizes >8
Hi,
I noticed recently that Wine was able to do anti-aliasing for font sizes >16
although my Gnome 2 looked nice with anti-aliasing of <16. I started to
look why Wine apps were only anti-aliased for >16, and I came across this:
--- dlls/x11drv/xrender.c.orig 2002-09-29 12:56:27.000000000 +0200
+++ dlls/x11drv/xrender.c 2002-09-29 12:56:56.000000000 +0200
@@ -322,7 +322,7 @@
assert(entry->nrealized == 0);
- if(antialias && abs(plfsz->lf.lfHeight * plfsz->xform.eM22) > 16) {
+ if(antialias && abs(plfsz->lf.lfHeight * plfsz->xform.eM22) > 8) {
pf.depth = 8;
pf.direct.alphaMask = 0xff;
} else {
When I changed this, my Notes was much nicer to work with. I presume there
is a reason why anti-aliasing was off, but I would reconsider that
decision. You can look for yourself on these 2 screenshots:
http://dag.wieers.com/Screenshot-2.png
http://dag.wieers.com/Screenshot-3.png
Especially look at the widgets.
Thanks for your feedback, (please Cc: because I'm not subscribed)
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
«Any errors in spelling, tact or fact are transmission errors»
More information about the wine-patches
mailing list