Skip to content

Instantly share code, notes, and snippets.

@lassekongo83
Created January 12, 2024 09:47
Show Gist options
  • Select an option

  • Save lassekongo83/70a7add1c3b7712168173170114da0b1 to your computer and use it in GitHub Desktop.

Select an option

Save lassekongo83/70a7add1c3b7712168173170114da0b1 to your computer and use it in GitHub Desktop.

Revisions

  1. lassekongo83 created this gist Jan 12, 2024.
    34 changes: 34 additions & 0 deletions fonts.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font" >
    <edit mode="assign" name="autohint" >
    <bool>false</bool>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="rgba" >
    <const>rgb</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hinting" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hintstyle" >
    <const>hintslight</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="antialias" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="lcdfilter" >
    <const>lcddefault</const>
    </edit>
    </match>
    </fontconfig>