Page 2 of 4

Re: Improving Font rendering to reach Ubuntu quality

Posted: 8. Mar 2011, 21:18
by thenktor
My font rendering is excellent in KDE with sub pixel hinting style full.

Re: Improving Font rendering to reach Ubuntu quality

Posted: 8. Mar 2011, 21:21
by gatewayasteroid
thenktor wrote:My font rendering is excellent in KDE with sub pixel hinting style full.
but just in KDE or in Openbox as well?
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...

Re: Improving Font rendering to reach Ubuntu quality

Posted: 8. Mar 2011, 21:34
by thenktor
Image

You have to use gtk/qt/kde settings to change the rendering style in Openbox.

Re: Improving Font rendering to reach Ubuntu quality

Posted: 9. Mar 2011, 06:44
by gatewayasteroid
thenktor wrote:Image

You have to use gtk/qt/kde settings to change the rendering style in Openbox.
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>
I will try again, thanks a lot!

Re: Improving Font rendering to reach Ubuntu quality

Posted: 26. Mar 2011, 20:04
by gatewayasteroid
thenktor wrote:Image

You have to use gtk/qt/kde settings to change the rendering style in Openbox.
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!

Re: Improving Font rendering to reach Ubuntu quality

Posted: 27. Mar 2011, 08:48
by gatewayasteroid
thenktor wrote:My font rendering is excellent in KDE with sub pixel hinting style full.
Also for me, in KDE, it's excellent. The problem is Firefox, or GIMP. See here:
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

Posted: 29. Mar 2011, 17:17
by JRD
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

Posted: 29. Mar 2011, 17:22
by gatewayasteroid
JRD 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.
I don't have that :(
Image

Re: Improving Font rendering to reach Ubuntu quality

Posted: 31. Mar 2011, 00:11
by pevsner
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

Code: Select all

Xft.antialias: 1
Xft.hinting: 1
Xft.rgba: none
Xft.hintstyle: hintslight
Xft.dpi: 87
Best of luck, crappy fonts sux!

Re: Improving Font rendering to reach Ubuntu quality

Posted: 31. Mar 2011, 06:24
by gatewayasteroid
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!
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).
Anyway it seems that is something related to some packackes. Frugalware, for example:
New LCD font rendering available in GNOME. If you use digital video output, this will improve font appearance.
http://www.frugalware.org/news/197

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 :)