Date: Sat, 20 Jan 2007 00:48:46 +0100 From: Tore Lund <toreld@netscape.net> To: freebsd-questions@freebsd.org Subject: Re: gsfonts in X ? Message-ID: <45B158DE.1050300@netscape.net> In-Reply-To: <200701192236.07743.fkraiem@enib.fr> References: <200701192236.07743.fkraiem@enib.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
Firas Kraiem wrote:
> Hello everyone !
> 
> My problem is that fonts look really horrible in most websites (see screenshot 
> at the end of this message). The same problem occured in various Linux 
> distros and was solved by installing the gsfonts-x11 package. How would I do 
> the same in FBSD ? The print/gsfonts port is installed but I guess I need to 
> do something else. Any ideas ?
For my own part I simply turn off anti-aliasing:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
    <edit mode="assign" name="antialias">
      <bool>false</bool>
    </edit>
  </match>
</fontconfig>
However, one person wrote to me and said that it worked better for him
to turn off the use of color for sub-pixel anti-aliasing, like this:
<?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <fontconfig>
   <match target="font">
     <edit mode="assign" name="rgba">
       <const>none</const>
     </edit>
   </match>
 </fontconfig>
Maybe one of these will work for you if you put it in ~/.fonts.conf.
-- 
    Tore
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B158DE.1050300>
