Created
February 25, 2018 05:30
-
-
Save AnwarShah/82b51fa7e1b82ba5736609e8c227eba8 to your computer and use it in GitHub Desktop.
Enable autohint for open type fonts since default hinting looks blurry
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
<?xml version='1.0'?> | |
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<!-- enable autohint for open type fonts --> | |
<match target="font"> | |
<test name="fontformat"> | |
<string>CFF</string> | |
</test> | |
<edit name="autohint" mode="assign"> | |
<bool>true</bool> | |
</edit> | |
</match> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Beware of other rules residing/overriding these. Look at
~/.config/fontconfig
files to double check if anyone is overriding. I had to spend quite a few hours figuring out what's wrong with the rule until discovered that some other file was overriding the rule