Improving Font rendering to reach Ubuntu quality
Re: Improving Font rendering to reach Ubuntu quality
My font rendering is excellent in KDE with sub pixel hinting style full.
- gatewayasteroid
- Posts: 54
- Joined: 9. Dec 2009, 14:30
- Location: Milano, Italy, EU
Re: Improving Font rendering to reach Ubuntu quality
but just in KDE or in Openbox as well?thenktor wrote:My font rendering is excellent in KDE with sub pixel hinting style full.
Can you shot a PNG and post it here? Thanks!

I can assure you (but you can check it yourself easily) that the differences are really impressive...
- gatewayasteroid
- Posts: 54
- Joined: 9. Dec 2009, 14:30
- Location: Milano, Italy, EU
Re: Improving Font rendering to reach Ubuntu quality
They look very good indeed, more or less like mine now!
I tried tweaking my ~/.fonts.conf (this is what I tried and using now) without success

Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintfull</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
- gatewayasteroid
- Posts: 54
- Joined: 9. Dec 2009, 14:30
- Location: Milano, Italy, EU
Re: Improving Font rendering to reach Ubuntu quality
I just tried with a Slackware 13.37 RC3. Font rendering in KDE, in Dolphin windows and such is great. The rest (GTK apps like firefox) is worse as always

Any clue?
Thanks!
Last edited by gatewayasteroid on 27. Mar 2011, 14:32, edited 1 time in total.
- gatewayasteroid
- Posts: 54
- Joined: 9. Dec 2009, 14:30
- Location: Milano, Italy, EU
Re: Improving Font rendering to reach Ubuntu quality
Also for me, in KDE, it's excellent. The problem is Firefox, or GIMP. See here:thenktor wrote:My font rendering is excellent in KDE with sub pixel hinting style full.
http://www.mediafire.com/?xzr221hoay0aqnk
look for example at the "/" of the URL in the address bar(s).
Re: Improving Font rendering to reach Ubuntu quality
In Firefox 4, got to about:config and search for "cleartype", then enable the use of clear type for content, this will improve font rendering.

- gatewayasteroid
- Posts: 54
- Joined: 9. Dec 2009, 14:30
- Location: Milano, Italy, EU
Re: Improving Font rendering to reach Ubuntu quality
I don't have thatJRD wrote:In Firefox 4, got to about:config and search for "cleartype", then enable the use of clear type for content, this will improve font rendering.


Re: Improving Font rendering to reach Ubuntu quality
I usually have to add a .fonts.conf for Qt programs,
& edit ~/.Xresources to get hinting looking right for gtk programs in Openbox as lxappearance doesn't set hinting (xfce hinting works fine).
eg. of my .Xresources
Best of luck, crappy fonts sux!
& edit ~/.Xresources to get hinting looking right for gtk programs in Openbox as lxappearance doesn't set hinting (xfce hinting works fine).
eg. of my .Xresources
Code: Select all
Xft.antialias: 1
Xft.hinting: 1
Xft.rgba: none
Xft.hintstyle: hintslight
Xft.dpi: 87
- gatewayasteroid
- Posts: 54
- Joined: 9. Dec 2009, 14:30
- Location: Milano, Italy, EU
Re: Improving Font rendering to reach Ubuntu quality
Thanks I already have tweaked .fonts.conf and .Xresources in a similar way, but I still have differences between KDE/QT apps (font rendering is perfect, same as Ubuntu) and GTK/Gnome (good, but not as good).pevsner wrote:I usually have to add a .fonts.conf for Qt programs,
& edit ~/.Xresources to get hinting looking right for gtk programs in Openbox as lxappearance doesn't set hinting (xfce hinting works fine).
Best of luck, crappy fonts sux!
Anyway it seems that is something related to some packackes. Frugalware, for example:
http://www.frugalware.org/news/197New LCD font rendering available in GNOME. If you use digital video output, this will improve font appearance.
These are patched:
http://www7.frugalware.org/pub/frugalwa ... freetype2/
http://www7.frugalware.org/pub/frugalwa ... ontconfig/
http://www7.frugalware.org/pub/frugalwa ... 11/libxft/
and probably Cairo as well.
Right now I'm using the Droid fonts with bytecode and full hinting, it seems to be the best option so far.
Not perfect as KDE
