They offer different flash templates with latest features.
Login

Forgot password
Register
Back
Written by:
michelsaey
Score: 5
votes: 8
Format: Article

 Change ugly fonts in Firefox (KDE)


<style type="text/css"> <!-- @page { margin: 2cm } PRE.cjk { font-family: "WenQuanYi Micro Hei", monospace } PRE.ctl { font-family: "Lohit Hindi", monospace } P { margin-bottom: 0.21cm } CODE.cjk { font-family: "WenQuanYi Micro Hei", monospace } CODE.ctl { font-family: "Lohit Hindi", monospace } --> </style>

When you use KDE the fonts in Firefox are ugly.

 

This is the fix:

 

  • Open with Kate: /home/yourusername/.fonts.conf.

  • Change the hinting in the file as hintslight like this:

 

<?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>
Save the file and you have clean fonts in Firefox.

Tags: Firefox KDE
Created: 2 years ago.
Last edited: 2 years ago.
Reviewed: 2 years ago.
Read 0 times.

Comments
8 months ago

WendyKroy
Works great ! Many thanks !  
1 year ago

thumdar
Make sure to delete/empty your Firefox cache after doing this.  
1 year ago

benlz
Thanks! It also works with google chrome.  
1 year ago

sdim
Many thanks, my friend.
It worked fine. I couldn't fix it even though I searched for a solution.
 

Other tutorials from michelsaey