Change ugly fonts in Firefox (KDE)

When you use KDE the fonts in Firefox are ugly.

This is the fix:

  • Open with Kate: /home/yourusername/.fonts.conf.

  • Change the hinting in the file as hintslight 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>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>
Save the file and you have clean fonts in Firefox.
posted @ 2013-10-10 00:24  MagicLetters  阅读(233)  评论(0编辑  收藏  举报