Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Caratteri minuscoli in firefox (ma solo con alcuni siti)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Sephirot
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2004
Posts: 124
Location: Milano

PostPosted: Sat Sep 15, 2007 11:32 am    Post subject: Caratteri minuscoli in firefox (ma solo con alcuni siti) Reply with quote

Salve,
da quando ho installato firefox, ho qualche problema a visualizzare alcuni siti: in pratica la dimensione dei font di alcuni siti e' minuscola (per esempio il blog di beppe grillo), mentre con altri e' perfetta (per esempio gazzetta.it ). Non capisco il perche', forse ho dimenticato di installare qualche font?

Questo e' il mio fonts.conf
Code:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
 
<!-- Get the DPI of the LCD monitor right -->
 <match target="pattern" >
  <edit mode="assign" name="dpi" >
   <double>96</double>
  </edit>
 </match>
   
<!-- It is best for my screen with the following off.
     Although some web sites recommend setting this to rgb
     for LCD screens, most modern LCDs automatically deal
     with it and it is best to set to none -->
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 
<!-- First turn on Hinting and Anti-aliasing for everything -->
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
<!-- Turn Anti-alias off for selected Font Family, Size and Weight -->
 <match target="font" >
  <test name="family" >
   <string>Arial</string>
  </test>
  <test compare="less" name="pixelsize" >
   <double>18</double>
  </test>
  <test name="weight" compare="less">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Arial</string>
  </test>
  <test name="slant" >
   <const>italic</const>
  </test>
  <test compare="less" name="pixelsize" >
   <double>12</double>
  </test>
  <test name="weight" compare="more_eq">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Georgia</string>
  </test>
  <test compare="less" name="pixelsize" >
   <double>17</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <test name="family" >
   <string>Times New Roman</string>
  </test>
  <test compare="less" name="pixelsize" >
   <double>19</double>
  </test>
  <test name="weight" compare="less">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Times New Roman</string>
  </test>
  <test name="slant" >
   <const>roman</const>
  </test>
  <test compare="less" name="pixelsize" >
   <double>15</double>
  </test>
  <test name="weight" compare="more_eq">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Times New Roman</string>
  </test>
  <test name="slant" >
   <const>italic</const>
  </test>
  <test compare="less" name="pixelsize" >
   <double>18</double>
  </test>
  <test name="weight" compare="more_eq">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>
<match target="font" >
  <test name="family" >
   <string>Tahoma</string>
  </test>
  <test compare="less" name="pixelsize" >
   <double>17</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Verdana</string>
  </test>
  <test compare="less" name="pixelsize" >
   <double>17</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Lucida Console</string>
  </test>
  <test compare="less" name="pixelsize" >
   <double>18</double>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Trebuchet MS</string>
  </test>
  <test compare="less" name="pixelsize" >
   <double>17</double>
  </test>
  <test name="weight" compare="less">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <test name="family" >
   <string>Trebuchet MS</string>
  </test>
  <test compare="less" name="pixelsize" >
   <double>12</double>
  </test>
  <test name="weight" compare="more_eq">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Comic Sans MS</string>
  </test>
  <test compare="less" name="pixelsize" >
   <double>16</double>
  </test>
  <test name="weight" compare="less">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

<!-- Bold Comic Sans looks better with the Autohinter -->
 <match target="font" >
  <test name="family" >
   <string>Comic Sans MS</string>
  </test>
  <test name="weight" compare="more_eq">
   <int>200</int>
  </test>
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
 </match>
<match target="font" >
  <test name="family" >
   <string>Courier New</string>
  </test>
  <test name="slant" >
   <const>roman</const>
  </test>
  <test name="weight" compare="less">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Courier New</string>
  </test>
  <test name="slant" >
   <const>italic</const>
  </test>
  <test compare="less" name="pixelsize" >
   <double>36</double>
  </test>
  <test name="weight" compare="less">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

 <match target="font" >
  <test name="family" >
   <string>Courier New</string>
  </test>
  <test name="slant" >
   <const>roman</const>
  </test>
  <test compare="less" name="pixelsize" >
   <double>16</double>
  </test>
  <test name="weight" compare="more_eq">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <test name="family" >
   <string>Courier New</string>
  </test>
  <test name="slant" >
   <const>italic</const>
  </test>
  <test compare="less" name="pixelsize" >
   <double>18</double>
  </test>
  <test name="weight" compare="more_eq">
   <int>200</int>
  </test>
  <edit mode="assign" name="antialias" >
   <bool>false</bool>
  </edit>
 </match>

<!-- For non-MS Truetype Fonts force use of Autohinter instead of BCI -->
 <match target="font" >
  <test qual="any" name="family" compare="eq">
   <string>Bitstream Charter</string>
   <string>Bitstream Vera Sans</string>
   <string>Bitstream Vera Sans Mono</string>
   <string>Bitstream Vera Serif</string>
   <string>Courier</string>
   <string>Courier 10 Pitch</string>
   <string>Cursor</string>
   <string>Luxi Mono</string>
   <string>Luxi Sans</string>
   <string>Luxi Serif</string>
   <string>Utopia</string>
  </test>
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
 </match>

<!-- Turn BCI Hinting off and AA on for small font sizes -->
 <match target="font" >
  <test compare="less_eq" name="pixelsize" qual="any" >
   <double>8</double>
  </test>
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
      <alias>
                <family>Verdana</family>
                <prefer><family>Tahoma</family></prefer>
        </alias>

        <match target="pattern">
                <test name="family">
                        <string>Courier</string>
                </test>
                <edit name="family" mode="prepend" binding="same">
                        <string>Courier New</string>
                </edit>
        </match>
</fontconfig>


Ho anche impostato il valore corretto dei DPI, per il resto mi sono affidato a questa guida http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts (come al solito) per la configurazione dei fonts.
_________________
"Gentoo is more educational than mainstream distros. It encourages you to look under the hood and effectively turns a lot of n00bs into l33ts."
resistence is futile
(if < 1 ohm)
Back to top
View user's profile Send private message
oriano
n00b
n00b


Joined: 26 Oct 2006
Posts: 6
Location: Ponte nelle Alpi (BL) Italy

PostPosted: Wed Sep 19, 2007 7:41 pm    Post subject: Re: Caratteri minuscoli in firefox (ma solo con alcuni siti) Reply with quote

Quote:

Salve,
da quando ho installato firefox, ho qualche problema a visualizzare alcuni siti: in pratica la dimensione dei font di alcuni siti e' minuscola (per esempio il blog di beppe grillo), mentre con altri e' perfetta (per esempio gazzetta.it ). Non capisco il perche', forse ho dimenticato di installare qualche font?

Non so dirti perché succeda (web master i.exploratori?) posso solo dirti come ovviare al problema:
- apri menu Modifica --> Preferenze (di Firefox)
- nella scheda Contenuti vai su Avanzate e in Caratteri e colori
- imposta una dimensione minima del carattere che ti soddisfa
nel mio caso la tengo a 12pt.
Ciao
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum