Skip to content

Instantly share code, notes, and snippets.

@yuttie
Created September 25, 2019 16:07
Show Gist options
  • Select an option

  • Save yuttie/adb22a6c07ef8e75d82e48d5484b7ad8 to your computer and use it in GitHub Desktop.

Select an option

Save yuttie/adb22a6c07ef8e75d82e48d5484b7ad8 to your computer and use it in GitHub Desktop.

Revisions

  1. yuttie created this gist Sep 25, 2019.
    15 changes: 15 additions & 0 deletions fonts.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <!-- Use heavier weights -->
    <match target="pattern">
    <test name="family"><string>Iosevka</string></test>
    <test name="weight" compare="eq"><const>regular</const></test>
    <edit name="weight" mode="assign" binding="strong"><const>semibold</const></edit>
    </match>
    <match target="pattern">
    <test name="family"><string>Iosevka</string></test>
    <test name="weight" compare="eq"><const>bold</const></test>
    <edit name="weight" mode="assign" binding="strong"><const>heavy</const></edit>
    </match>
    </fontconfig>