Better font rendering in Fedora
09 July 2020
I’ve used Fedora for many years now on my laptop, and the default font rendering has served me well there… but only because the laptop has a HiDPI screen which doesn’t need subpixel hinting as much as regular screens. Subpixel hinting, as it turns out, is patented by Microsoft (accursed software patents) so most Linux distributions don’t ship with it enabled, and its absence is painfully obvious on ye olde low-DPI screens especially when viewing light text on dark backgrounds.
Anyway, there’s a helpful COPR repository that fixes all of this. https://github.com/silenc3r/fedora-better-fonts (or more directly, https://copr.fedorainfracloud.org/coprs/dawid/better_fonts/).
Enable this repository and install the packages it offers and you’ll get prettier fonts, plus it installs
replacements for a bunch of common Microsoft fonts, making web pages appear closer to what they do on Windows
(if this is something you don’t want, I suppose you can just not install the
Installation instructions (as per the COPR repo page):
Enable COPR repository with packages from this repo:
dnf copr enable dawid/better_fonts
dnf install fontconfig-enhanced-defaults fontconfig-font-replacements
Log out and log in again or restart computer to see the effect