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»
Dag Wieers wrote:
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.
Looks like that cleans it up quite a bit. Why not send it to wine patches? wine-patches@winehq.com
Tony Lambregts
On Mon, 30 Sep 2002, Tony Lambregts wrote:
Dag Wieers wrote:
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:
Looks like that cleans it up quite a bit. Why not send it to wine patches? wine-patches@winehq.com
Because I didn't know the list existed and I'm not sure that everyone agrees. There must be a reason why it was set to 16 ?
I'll send it there too, thanks for the suggestion.
-- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- «Any errors in spelling, tact or fact are transmission errors»