summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/fontconfig/fonts.conf30
1 files changed, 29 insertions, 1 deletions
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf
index 083ece3..b6f868b 100644
--- a/.config/fontconfig/fonts.conf
+++ b/.config/fontconfig/fonts.conf
@@ -34,5 +34,33 @@
<prefer>
<family>Liberation Sans</family>
</prefer>
-</alias>
+ </alias>
+
+ <alias binding="strong">
+ <family>sans-serif</family>
+ <prefer>
+ <family>FreeSans</family>
+ <family>Sahel WOL</family>
+ <family>Liberation Sans</family>
+ <family>Roboto</family>
+ </prefer>
+ </alias>
+
+ <match target="pattern">
+ <test name="lang" compare="contains">
+ <string>fa</string>
+ </test>
+ <test qual="any" name="family">
+ <string>sans-serif</string>
+ </test>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Sahel WOL</string>
+ </edit>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>FreeSans</string>
+ </edit>
+ <edit name="family" mode="prepend" binding="strong">
+ <string>Sahel</string>
+ </edit>
+ </match>
</fontconfig>