Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to get rid of antialias fuzzies
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jjramsey
Guest





PostPosted: Sat Aug 03, 2002 12:39 am    Post subject: Trying to get rid of antialias fuzzies Reply with quote

I've been trying to get rid of some font fuzziness in Mozilla, but with no apparent luck. I've tried adding the following snippet to the ends of /etc/X11/XftConfig and /usr/lib/X11/fonts/truetype/XftConfig

Code:

# There's no need for fonts to be anti-aliased at "normal' sizes,
# they cause eyestrain and don't really enhance the fonts. Tell Xft
# not to anti-alias fonts between 8pt and 14pt sizes
match
   any size > 8
   any size < 17
edit
   antialias = false;

# Same again, but enforced for KDE (specifically Konqueror/KHTML)
match
   any pixelsize > 8
   any pixelsize < 17
edit
   antialias = false;


It's not helping. What am I missing?
Back to top
jjramsey
Guest





PostPosted: Sat Aug 03, 2002 1:11 am    Post subject: Re: Trying to get rid of antialias fuzzies Reply with quote

myself wrote:


It's not helping. What am I missing?


Now I know:

I found the line

Code:

pref("font.antialias.min",        10);


in /usr/lib/mozilla/defaults/pref/unix.js and replaced it with

Code:

pref("font.antialias.min",        17);


I had searched the forums. Guess I didn't search enough.
:oops:
Back to top
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Tue Aug 06, 2002 9:06 am    Post subject: Reply with quote

I've posted my unix.js tweaks quite a few times :)
btw, why do you want to disable aa ?
_________________
mat
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Aug 08, 2002 4:46 pm    Post subject: Reply with quote

dioxmat wrote:
I've posted my unix.js tweaks quite a few times :)
btw, why do you want to disable aa ?


Have you ever looked at aa fonts on a laptop LCD screen? :D Yuck, they look horrible! :(

-DOnn
Back to top
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Thu Aug 08, 2002 10:01 pm    Post subject: Reply with quote

Anonymous wrote:
Have you ever looked at aa fonts on a laptop LCD screen? :D Yuck, they look horrible! :(

-DOnn


For LCD screens you need to turn on sub-pixel, this is part from XFree86 Font De-uglification HOWTO:
Quote:
I have a LCD screen on my laptop, can I use sub-pixel hinting instead of normal anti-aliasing?

Yes you can. Sub-pixel hinting uses colors instead of gray pixels to do the AA. I do not have a LCD screen so I do not have any idea of how it looks but you can play with the "rgba" setting. Try:

match edit rgba=bgr;

or use rgb if you have a different type of monitor. For vertical AA you can try vbgr and vbgr.


With Mozilla it is a problem since it doesn't use X's antialiasing mechanism.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Fri Aug 09, 2002 6:47 am    Post subject: Reply with quote

there was patches floating around to make mozilla use xft, dont remember if they were integrated into mozilla.

btw, http://jmason.org/howto/subpixel describes pretty well how to enable sub pixel rendering for LCD screens (seems down right now, you might want a google cache copy :)
_________________
mat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum