Created
September 25, 2019 16:07
-
-
Save yuttie/adb22a6c07ef8e75d82e48d5484b7ad8 to your computer and use it in GitHub Desktop.
Configuration of fontconfig to use heavier weights of Iosevka font.
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> | |
<!-- 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