Firefox & Thunderbird fonts

Frank Merenda fmerenda at yahoo.com
Fri Apr 14 15:21:48 UTC 2006


I actually still had cruddy fonts. I fixed it by doing the following:

create a file called:

~/.fonts.conf

put the following in the file (without the ===) and my fonts are smooth as 
butter again... :)

=================================================

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

   <!-- auto-hint -->
   <match target="font">
     <edit name="autohint" mode="assign">
       <bool>true</bool>
     </edit>
   </match>

   <!-- hinting -->
  <match target="font" >
   <edit mode="assign" name="hinting" >
    <bool>true</bool>
   </edit>
  </match>
  <!-- hint style -->
  <match target="font" >
   <edit mode="assign" name="hintstyle" >
    <const>hintmedium</const>
   </edit>
  </match>

   <!--  Enable sub-pixel rendering -->
   <match target="font">
         <test qual="all" name="rgba">
                 <const>unknown</const>
         </test>
         <edit name="rgba" mode="assign"><const>rgb</const></edit>
   </match>

</fontconfig>


=================================================






More information about the ubuntu-users mailing list