Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed and deleted kubuntu-desktop just to look what KDE is, and so on, and now even in Unity some fonts are totally ugly :( Specially in Firefox, I have real eyeache after reading sites with these fonts. How to restore them like it was before?

share|improve this question

This fixed it for me:

Change the content of the file $HOME/.fonts.conf to:

<?xml version='1.0' ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<match target='font'>
<edit name='autohint' mode='assign'>

Then restart firefox.

share|improve this answer
+1, this fixed things for me. Combined with "Use sub-pixel rendering" and "Slight" Hinting style in the Fonts -> Configure Anti-Alias Settings dialog, makes the fonts look normal again. – Ash Sep 12 '13 at 12:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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