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