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

Re: GTK and antialias (solved)



On 02:13 2004-04-06, Jaap Haitsma wrote:
Kaj Wiik wrote:

It looks like gtk disables antialiasing between font sizes 8-16 pt, changing /etc/XftConfig has absolutely no effect. So, can anyone tell where this can be adjusted?

I have latest gtk/gnome packages from testing,
e.g. 'xterm -fa "Bitstream Vera" -fs 10' works perfectly so my setup should be otherwise ok..

Anyone..?

Cheers,

Try dpkg-reconfigure fontconfig and enable the autohinter

Thanks for reply! Although this did not solve the problem itself but it lead me to the right direction. The cause was .fonts.conf *in my home directory*!! I have no idea when/why/what has created the file. Now it is very clear and for those who prefer not to antialias fonts at certain sizes this might be even useful:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
 <test compare="more" name="size" qual="any" >
  <double>8</double>
 </test>
 <test compare="less" name="size" qual="any" >
  <double>15</double>
 </test>
 <edit mode="assign" name="antialias" >
  <bool>false</bool>
 </edit>
</match>
<match target="font" >
 <edit mode="assign" name="rgba" >
  <const>rgb</const>
 </edit>
</match>
</fontconfig>

Cheers,

Kaj
kaj.wiik at rem.ove.iki.fi.invalid

PS. Antialiased fonts on a LCD screen look fantastic!



Reply to: