Rewrite `b/*scratch*' function in init file
[~bandali/configs] / .config / fontconfig / fonts.conf
index 63ffe39..b6f868b 100644 (file)
@@ -13,7 +13,7 @@
  </match>
  <match target="font">
   <edit mode="assign" name="hintstyle">
-   <const>hintfull</const>
+   <const>hintslight</const>
   </edit>
  </match>
  <match target="font">
   <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>