Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Viewing all articles
Browse latest Browse all 11063

3 Steps to Fixing Fedora 24+ Font Rendering

$
0
0

This is shamelessly reproduced from the Fedora subreddit thread that covers exactly this problem. I am posting it here so that I can find it again in the future.

First thing I noticed when switching to Fedora from Ubuntu, was the terrible font rendering. So a quick look around led me to a number of solutions, including the subreddit mentioned above, which is the first one I tried and stuck with.

Add the RPMfusion repositories (I added both free and non-free): su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm' Install freetype-freeworld : sudo dnf install freetype-freeworld Configure freetype to your liking in a file at /etc/fonts/local.conf . Here’s the settings suggested in the above subreddit: <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <match target="font"> <edit name="antialias" mode="assign"> <bool>true</bool> </edit> <edit name="autohint" mode="assign"> <bool>false</bool> </edit> <edit name="embeddedbitmap" mode="assign"> <bool>false</bool> </edit> <edit name="hinting" mode="assign"> <bool>true</bool> </edit> <edit name="hintstyle" mode="assign"> <const>hintslight</const> </edit> <edit name="lcdfilter" mode="assign"> <const>lcdlight</const> </edit> <edit name="rgba" mode="assign"> <const>rgb</const> </edit> </match> </fontconfig> Other methods

There are other methods I came across too:

Fedy has a tweak that fixes font rendering if you like the one-click approach Infinality is a bundle of goodies that claims to patch the fonts

Viewing all articles
Browse latest Browse all 11063

Trending Articles