equal
deleted
inserted
replaced
5 |
5 |
6 <fontconfig> |
6 <fontconfig> |
7 <!-- Private font directory --> |
7 <!-- Private font directory --> |
8 <dir>~/.fonts</dir> |
8 <dir>~/.fonts</dir> |
9 |
9 |
10 <!-- Disable anti-aliasing at all. --> |
10 <!-- My all displays are LCD and with RGB pattern. --> |
11 <match target="font"> |
11 <match target="pattern"> |
12 <edit name="antialias" mode="assign"><bool>false</bool></edit> |
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>14</double> |
|
24 </test> |
|
25 <edit name="antialias" mode="assign"> |
|
26 <bool>false</bool> |
|
27 </edit> |
|
28 </match> |
|
29 <match target="pattern"> |
|
30 <test name="pixelsize" compare="less"> |
|
31 <double>14</double> |
|
32 </test> |
|
33 <edit name="antialias" mode="assign"> |
|
34 <bool>false</bool> |
|
35 </edit> |
|
36 </match> |
|
37 |
|
38 <!-- Enable hinting for all fonts! --> |
|
39 <match target="pattern"> |
|
40 <edit mode="assign" name="hinting"> |
|
41 <bool>true</bool> |
|
42 </edit> |
|
43 <edit mode="assign" name="hintstyle"> |
|
44 <const>hintslight</const> |
|
45 </edit> |
13 </match> |
46 </match> |
14 |
47 |
15 </fontconfig> |
48 </fontconfig> |
|
49 |