[ltp] font rendering

Hartwig, Thomas linux-thinkpad@linux-thinkpad.org
Fri, 02 Jul 2004 15:40:00 +0200


Hi Eric,

thank you, this helps me turning off antialiasing in the right way. I 
have set GDK_USE_XFT=0 before starting mozilla to turn it off.

But my main problem is when I have turned it off, the TTF-fonts look 
very ugly.

Thanks
Thomas

Eric Covener wrote:
> On Fri, 02 Jul 2004 12:23:00 +0200, Hartwig, Thomas
> <t.hartwig@crapoud.com> wrote:
> 
>>Hi folks,
>>
>>I have read a lot of things and tutorials around, but I still do not get
>>the TrueType fonts like Arial or Tahoma to work within Mozilla *without*
>>antialiasing.
> 
> 
> For fontconfig/XFT2 based apps, create a ~/.fonts.conf
> 
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <fontconfig>
>  <match target="font" >
>   <edit mode="assign" name="antialias" >
>    <bool>false</bool>
>   </edit>
> </match>
> </fontconfig>
> 
> You can test this by setting XFT_DEBUG envar and watching the final
> value of antialias (FcTrue or FcFalse).  xterm -fa mono is a quick and
> dirty test.
> 

-- 
Thomas Hartwig - Software & IT-Service Specialist