[FoLUG] [Tips&Trics] Firefox 3.5.3 su Karmic Beta e antialiasing dei caratteri

Raffaele Ravaioli raffaele.ravaioli@gmail.com
Dom 11 Ott 2009 22:55:42 CEST


Oggi ho provato ad installare in una partizione vuota Ubuntu Karmic
Koala Beta. La cosa pių fastidiosa č la resa dei caratteri su firefox
3.5.3 soprattutto se ha un monitor LCD. Anzi di default, forse per far
vedere meno la differenza, in "Preferenze">"Aspetto">"Tipi di
Caratteri", č selezionata l'opzione "leggera" anzichč "completa"
(opzione che ho/deve essere impostata).
Googlando ho trovato la soluzione che migliora l'aspetto dei caratteri
non solo dei menų ma anche delle pagine.

Basta creare con Gedit il file ".font.conf" (senza apici) nella
directory /home/xxutentexx/ dove "xxutentexx" č il vostro utente :-PPP
Nel file copiare:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <test compare="more" name="pixelsize" qual="any">
  <double>12</double>
 </test>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font" >
  <edit name="autohint" mode="assign" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintmedium</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="lcdfilter" >
   <const>lcddefault</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="pattern">
  <test qual="any" name="family">
   <string>Bitstream Vera Sans</string>
  </test>
  <edit name="family" mode="assign">
   <string>Arial</string>
  </edit>
 </match>
 <match target="pattern">
  <test qual="any" name="family">
   <string>Helvetica</string>
  </test>
  <edit name="family" mode="assign">
   <string>Arial</string>
  </edit>
 </match>
 <match target="pattern">
  <test qual="any" name="family">
   <string>Palatino</string>
  </test>
   <edit name="family" mode="assign">
    <string>Georgia</string>
   </edit>
 </match>
</fontconfig>

Buon Ubuntu Karmic

Ciao.

Raffaele


Maggiori informazioni sulla lista FoLUG