equal
deleted
inserted
replaced
1 <?xml version="1.0"?> |
|
2 <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
|
3 |
|
4 <!-- ~/.fonts.conf for per-user font configuration. See "man 5 fonts-conf". --> |
|
5 |
|
6 <fontconfig> |
|
7 <!-- Private font directory --> |
|
8 <dir>~/.fonts</dir> |
|
9 |
|
10 <!-- My all displays are LCD and with RGB pattern. --> |
|
11 <match target="pattern"> |
|
12 <test qual="all" name="rgba"> |
|
13 <const>unknown</const> |
|
14 </test> |
|
15 <edit mode="assign" name="rgba"> |
|
16 <const>rgb</const> |
|
17 </edit> |
|
18 </match> |
|
19 |
|
20 <!-- Disable anti-aliasing for small fonts. --> |
|
21 <match target="pattern"> |
|
22 <test name="size" compare="less"> |
|
23 <double>10</double> |
|
24 </test> |
|
25 <edit name="antialias" mode="assign"> |
|
26 <bool>false</bool> |
|
27 </edit> |
|
28 </match> |
|
29 |
|
30 <!-- Enable hinting for all fonts! --> |
|
31 <match target="pattern"> |
|
32 <edit mode="assign" name="hinting"> |
|
33 <bool>true</bool> |
|
34 </edit> |
|
35 <edit mode="assign" name="hintstyle"> |
|
36 <const>hintslight</const> |
|
37 </edit> |
|
38 </match> |
|
39 |
|
40 <match target="font"> |
|
41 <edit mode="assign" name="lcdfilter"> |
|
42 <const>lcddefault</const> |
|
43 </edit> |
|
44 </match> |
|
45 </fontconfig> |
|
46 |
|