Skip to content

Instantly share code, notes, and snippets.

@AnwarShah
Created February 25, 2018 05:30

Revisions

  1. AnwarShah created this gist Feb 25, 2018.
    14 changes: 14 additions & 0 deletions 99-autohint-opentype.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    <?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>