|
12 years ago 5 |
<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.