Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After installing kde-standard on my Ubuntu 12.04,web fonts(both Firefox and Chrome) turned to ugly both in Gnome and KDE desktops.How do I get back good looking web fonts.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You need to edit /home/yourusername/.fonts.conf.

Chances are Hinting has been changed, and you need to change it back to hintslight.

Here's how mine looks:

<?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>
share|improve this answer
    
Thank you very much. Now the fonts are much better. –  RameshKatkam Jul 3 '12 at 15:38
2  
@RameshKatkam: If this answer solved your problem, please mark it as accepted by clicking the check mark to the left of the answer. That's the way to say thanks around here. You might also consider voting it up. Please also go through your other questions and accepting an answer for any that have satisfactory answers. –  Scott Severance Jul 12 '12 at 10:45
    
Yes, this fixed it, but now Droid fonts look bad, but they looked ok at hintingstyle=hintfull. So, i have to choose - Droid fonts or Ubuntu fonts... –  warvariuc Oct 17 '13 at 15:01
    
It think, it should be noted, that rgba=none is not very good idea in our time with LCD screens everywhere. Setting it to rgb or correspondingly to your's monitor geometry if its not rgb. –  TiGR Jun 16 at 12:35

Your Answer

 
discard

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.