Change ugly fonts in Firefox (KDE)
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.

浙公网安备 33010602011771号