Skip to content

Instantly share code, notes, and snippets.

@yuttie
Created September 25, 2019 16:07
Show Gist options
  • Save yuttie/adb22a6c07ef8e75d82e48d5484b7ad8 to your computer and use it in GitHub Desktop.
Save yuttie/adb22a6c07ef8e75d82e48d5484b7ad8 to your computer and use it in GitHub Desktop.
Configuration of fontconfig to use heavier weights of Iosevka font.
<?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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment