b6f868bdf9cc38e665336af94466df488ec2e7ce
[~bandali/configs] / .config / fontconfig / fonts.conf
1 <?xml version="1.0"?>
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3 <fontconfig>
4 <match target="font">
5 <edit mode="assign" name="rgba">
6 <const>rgb</const>
7 </edit>
8 </match>
9 <match target="font">
10 <edit mode="assign" name="hinting">
11 <bool>true</bool>
12 </edit>
13 </match>
14 <match target="font">
15 <edit mode="assign" name="hintstyle">
16 <const>hintslight</const>
17 </edit>
18 </match>
19 <match target="font">
20 <edit mode="assign" name="antialias">
21 <bool>true</bool>
22 </edit>
23 </match>
24 <match target="font">
25 <edit mode="assign" name="lcdfilter">
26 <const>lcddefault</const>
27 </edit>
28 </match>
29 <dir>~/.fonts</dir>
30
31 <!-- Use Liberation Sans for Helvetica (instead of Nimbus Sans) -->
32 <alias binding="same">
33 <family>Helvetica</family>
34 <prefer>
35 <family>Liberation Sans</family>
36 </prefer>
37 </alias>
38
39 <alias binding="strong">
40 <family>sans-serif</family>
41 <prefer>
42 <family>FreeSans</family>
43 <family>Sahel WOL</family>
44 <family>Liberation Sans</family>
45 <family>Roboto</family>
46 </prefer>
47 </alias>
48
49 <match target="pattern">
50 <test name="lang" compare="contains">
51 <string>fa</string>
52 </test>
53 <test qual="any" name="family">
54 <string>sans-serif</string>
55 </test>
56 <edit name="family" mode="prepend" binding="strong">
57 <string>Sahel WOL</string>
58 </edit>
59 <edit name="family" mode="prepend" binding="strong">
60 <string>FreeSans</string>
61 </edit>
62 <edit name="family" mode="prepend" binding="strong">
63 <string>Sahel</string>
64 </edit>
65 </match>
66 </fontconfig>