View previous topic :: View next topic |
Author |
Message |
jjramsey Guest
|
Posted: Sat Aug 03, 2002 12:39 am Post subject: Trying to get rid of antialias fuzzies |
|
|
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
|
Posted: Sat Aug 03, 2002 1:11 am Post subject: Re: Trying to get rid of antialias fuzzies |
|
|
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.
|
|
Back to top |
|
|
dioxmat Bodhisattva
Joined: 04 May 2002 Posts: 709 Location: /home/mat
|
Posted: Tue Aug 06, 2002 9:06 am Post subject: |
|
|
I've posted my unix.js tweaks quite a few times :)
btw, why do you want to disable aa ? _________________ mat |
|
Back to top |
|
|
Guest
|
Posted: Thu Aug 08, 2002 4:46 pm Post subject: |
|
|
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? Yuck, they look horrible!
-DOnn |
|
Back to top |
|
|
mksoft l33t
Joined: 28 May 2002 Posts: 844
|
Posted: Thu Aug 08, 2002 10:01 pm Post subject: |
|
|
Anonymous wrote: | Have you ever looked at aa fonts on a laptop LCD screen? 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 |
|
|
dioxmat Bodhisattva
Joined: 04 May 2002 Posts: 709 Location: /home/mat
|
Posted: Fri Aug 09, 2002 6:47 am Post subject: |
|
|
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 |
|
|
|