Ubuntu小技巧之二:解决Firefox字体发虚[ZZ]

很多人包括我在内,因为字体设置的原因而使Firefox的网页字体,所谓发就是说字体的颜色偏淡,看起来很费眼,也不太正常。解决的方法有两个,第一是用文泉驿字体,这是最推荐的。如果您非要用Windows的字体或者AR PL ShanHeiSun 的话,那么以下的方法或许对您有效:

$sudo gedit /etc/firefox/firefoxrc

然后会出现以下文件:

# which /dev/dsp wrapper to useFIREFOX_DSP="none"# Note that "auto" and "esd" involve the use of esddsp, which# is known to be buggy and to make Firefox unstable.# See https://launchpad.net/malone/bugs/29760.

在里面加入:

MOZ_DISABLE_PANGO=1

使整个文件变成:

# which /dev/dsp wrapper to useFIREFOX_DSP="none"MOZ_DISABLE_PANGO=1# Note that "auto" and "esd" involve the use of esddsp, which# is known to be buggy and to make Firefox unstable.# See https://launchpad.net/malone/bugs/29760.

就可以了。

重新打开firefox看看!有没有好很多呢?!