Ubuntu – Ugly font after KDE installation

font-renderingfontconfigfontskde

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

kubuntu-desktop

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?

Best Answer

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">
    <bool>false</bool>
  </edit>
</match>

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