# YBlog - antialias font in Firefox under Ubuntu
Keywords: Linux, Ubuntu, Fonts

French ↓ Menu ↓

# antialias font in Firefox under Ubuntu

How to stop using bad Microsoft© font under Ubuntu Linux in order to user nice anti aliased font under Firefox.

Just modify the `/etc/fonts/local.conf` with the following code:

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

    <!-- Miscellaneous settings -->

    <include ignore_missing="yes">misc.conf</include>

    <!-- Define alias -->

    <include ignore_missing="yes">alias.conf</include>

    <!-- Rules for Microsoft fonts -->

    <include ignore_missing="yes">msfonts-rules.conf</include>

      <match target="pattern" name="family" >
          <test name="family" qual="any" >
              <string>Tahoma</string>
          </test>
          <edit mode="assign" name="family" >
              <string>Verdana</string>
          </edit>
      </match>
      <selectfont>
          <acceptfont>
              <pattern>
                  <patelt name="family">
                    <string>Lucida Grande</string>
                  </patelt>
              </pattern>
          </acceptfont>
      </selectfont>

      <match target="pattern" name="family" >
          <test name="family" qual="any" >
              <string>Georgia</string>
          </test>
          <edit mode="assign" name="family" >
              <string>Georgia</string>
          </edit>
      </match>
      <selectfont>
          <acceptfont>
              <pattern>
                  <patelt name="family">
                    <string>Century Schoolbook L</string>
                  </patelt>
              </pattern>
          </acceptfont>
      </selectfont>

    </fontconfig>

Hope it helped someone who like me had his eyes crying in face of such ugly fonts.

RSS · Tweet · FB
These social sharing links preserve your privacy
↑ Top ↑
Published on 2010-01-12
Follow @yogsototh
Yann Esposito©
Done with Vim spacemacs & nanoc Hakyll

ADA: `DdzFFzCqrhtAvdkmATx5Fm8NPJViDy85ZBw13p4XcNzVzvQg8e3vWLXq23JQWFxPEXK6Kvhaxxe7oJt4VMYHxpA2vtCFiP8fziohN6Yp`