summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2022-05-14 22:46:51 -0400
committerAmin Bandali <bandali@kelar.org>2022-05-19 22:20:02 -0400
commit48ba575760a21292cba237993a4e65bab2f0635e (patch)
treea9e1965af60d0de3384e92ffa3bbb91086b8c790
parent6cf7efb05e6c807bd1d8c4c4f2f6db40cf183835 (diff)
downloadconfigs-48ba575760a21292cba237993a4e65bab2f0635e.tar.gz
configs-48ba575760a21292cba237993a4e65bab2f0635e.tar.xz
configs-48ba575760a21292cba237993a4e65bab2f0635e.zip
* .config/fontconfig/fonts.conf: Use FreeSans and Sahel for sans-serif.
GNU FreeSans for English and Sahel for Persian.
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>