Created
November 21, 2012 14:00
-
-
Save gbishop/4124987 to your computer and use it in GitHub Desktop.
Replace sans-serif and Arial fonts with Ubuntu
This file contains hidden or 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">--> | |
<!-- ~/.fonts.conf for per-user font configuration --> | |
<fontconfig> | |
<alias> | |
<family>sans-serif</family> | |
<prefer> | |
<family>Ubuntu</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>monospace</family> | |
<prefer> | |
<family>Ubuntu Mono</family> | |
</prefer> | |
</alias> | |
<match> | |
<test name="family"><string>Arial</string></test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Ubuntu</string> | |
<string>Arial</string> | |
</edit> | |
</match> | |
<match> | |
<test name="family"><string>helvetica</string></test> | |
<edit name="family" mode="prepend" binding="strong"> | |
<string>Ubuntu</string> | |
<string>Helvetica</string> | |
</edit> | |
</match> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I wrote the above comment, I noticed that Helvetica had same problem so I'm replacing it also. I wonder if one Match clause could do it?