Created
April 15, 2023 12:51
-
-
Save Risto-Stevcev/7f7162c1ac43d18c68828e3705d91781 to your computer and use it in GitHub Desktop.
Font aliasing in linux (ie for Helvetica)
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'> | |
<!-- | |
On void, see /etc/fonts/conf.d/30-metric-aliases.conf | |
Sets the google font Arimo for sans-serif, and adds an alias for Helvetica | |
--> | |
<fontconfig> | |
<alias> | |
<family>sans-serif</family> | |
<prefer><family>Arimo</family></prefer> | |
</alias> | |
<match> | |
<test name="family"><string>Arial</string></test> | |
<edit name="family" mode="assign" binding="strong"> | |
<string>Arimo</string> | |
</edit> | |
</match> | |
<match> | |
<test name="family"><string>Helvetica</string></test> | |
<edit name="family" mode="assign" binding="strong"> | |
<string>Arimo</string> | |
</edit> | |
</match> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment