blob: bf8350c15b846b4d0273e08a58ea848668141d61 (
plain)
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
|
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Use the Antialiasing -->
<match target="font">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
</match>
<!-- Use Hinting -->
<match target="font">
<edit name="hinting" mode="assign"><bool>true</bool></edit>
</match>
<!-- Use Slight Hinting -->
<match target="font">
<edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
</match>
<!-- Use lcddefault as default for LCD filter -->
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<!-- Use legacy LCD filter on smaller Monospace fonts -->
<match target="font">
<test name="family">
<string>DejaVu Sans Mono</string>
<string>Bitstream Vera Sans Mono</string>
</test>
<test name="pixelsize" compare="less_eq">
<double>12.0</double>
</test>
<edit name="lcd_filter" mode="assign">
<const>lcdlegacy</const>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>
</fontconfig>
|