It’s not only Firefox, but any program using fontconfig…
-
Close your program
-
Enable LCD filter
sudo ln -fs /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/
-
Rebuild font cache
fc-cache --force
Why it happened?
Caused by weird new defaults for fontconfig, maybe it will change in future.
Starting from FreeType 2.10.3, Arch Linux enables ClearType subpixel rendering by default [4] .
When using ClearType subpixel rendering, you should enable the LCD filter, which is designed to reduce colour fringing.
(c) https://wiki.archlinux.org/index.php/Font_configuration
7 Likes
I wish they’d stop pushing this ClearType rubbish on us. I like my fonts pixelated and rendered in only two colours: foreground and background!
The natural defects in my eyes take care of anti-aliasing for me
3 Likes
So
sudo ln -s /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/
Is no good anymore?
Well, check to see if you already have:
cat "/etc/fonts/conf.d/11-lcdfilter-default.conf"
If not, then just run updated location from OP
cat: /etc/fonts/conf.d/11-lcdfilter-default.conf: No such file or directory
Edit: i get this when i use your updated link
ln: failed to create symbolic link ‘/etc/fonts/conf.d/11-lcdfilter-default.conf’: File exists
1 Like
You have to delete the broken link at first…
rm /etc/fonts/conf.d/11-lcdfilter-default.conf
1 Like
@Christopher67
I think you can also force with -f
:
sudo ln -fs /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/
See if it works, i’ll add to OP then
2 Likes
Yup that seemed to worked zero error, so i don’t have to do a fc-cache --force
That does it all it 1 command correct?
1 Like
No, it just removes previous broken symlink and replaces it with new one…
I’d do fc-cache --force
as well
1 Like
This is the fix I didn’t realize I needed. Thanks for the info!
2 Likes