Font rendering in gtk applications



Hello,

I have tried the following settings in ~/.gtkrc-2.0

gtk-xft-antialias = 1
gtk-xft-hinting = 1
gtk-xft-hintstyle = "hintslight"

with no effect.

I have also the following settings in /usr/local/etc/fonts/local.conf (in FreeBSD7.1)

<fontconfig>
 <match target="font">
   <edit mode="assign" name="antialias"><bool>true</bool></edit>
 </match>
 <match target="font">
   <edit mode="assign" name="hinting"><bool>true</bool></edit>
 </match>
 <match target="font">
   <edit mode="assign" name="hintstyle"><const>hintslight</const></edit>
 </match>
</fontconfig>

with no effect (these settings do have effect on eg. Opera and Firefox2).

Could anyone give advice on how to do this.

In Gnome and Xfce the font setting dialogue gives the result I want but I don't want use
theme only to make the fonts look the way I want.

Regards,
Pertti


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]