Created
June 14, 2015 18:20
-
-
Save forabi/3c9e0e6450b9fb2b627c to your computer and use it in GitHub Desktop.
Substitute Linux default font family for Arabic with Helvetica World. Save as /etc/fonts/conf.d/99-arabic.conf
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"> | |
<!-- $XDG_CONFIG_HOME/fontconfig/fonts.conf for per-user font configuration --> | |
<fontconfig> | |
<match> | |
<test name="lang" compare="contains"> | |
<string>ar</string> | |
</test> | |
<test name="family" compare="not_eq"> | |
<string>monospace</string> | |
</test> | |
<edit name="family" mode="prepend"> | |
<string>Helvetica World</string> | |
</edit> | |
</match> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment