You all know the nice default font that come with Ubuntu, right? I just wanted to play a little bit with Kubuntu and installed the meta package


Everything was fine, however the font is now ugly as hell. Not only on KDE, but also on Gnome, Unity etc.

Example: enter image description here

How can I get the default font config back?


Looks like you have to to disable font hinting, either through GNOME/KDE settings or by putting the following in ~/.fonts.conf (create the file if it doesn't exist):

<match target="font">
  <edit name="hinting" mode="assign">

This is configurable because some people prefer crispier look reminiscent of Windows XP.

  • 1
    I confirm that this solved the problem. – sorin May 3 '12 at 12:17
  • This is also working for me, please select it as the answer. – Martin Mar 10 '13 at 19:15
  • I don't like font hinting – Eofla Jun 5 '16 at 8:59

In your home folder, rename .fonts.conf to .fonts.conf.bak then log out. Log back in and the fonts in Firefox are good to go.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.