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:
Save the file and you have clean fonts in Firefox. none true hintslight true