Fix: Anti-aliasing for font sizes >8 (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@wieers.com,  http://dag.wieers.com/   --
«Any errors in spelling, tact or fact are transmission errors»

---------- Forwarded message ----------
From: Dag Wieers <dag@wieers.com>
To: wine-devel@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@wieers.com,  http://dag.wieers.com/   --
«Any errors in spelling, tact or fact are transmission errors»




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux