Created
September 5, 2016 14:47
-
-
Save mcastelino/3f8a693ba704752bd772ac3dd3901ce4 to your computer and use it in GitHub Desktop.
Fixing fonts on Fedora 24 - Freetype
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.reddit.com/r/Fedora/comments/3o6ijr/trying_fedora_23_for_the_first_time_why_do_fonts/ | |
http://rpmfusion.org/Configuration | |
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' | |
sudo dnf install freetype-freeworld | |
Add them to /etc/fonts/local.conf for system wide use. | |
<?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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment