blob: e5f63f089cee2ff34f47eafc107d4dd60c860680 (
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
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
71
72
73
74
75
76
77
78
79
80
|
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
~/.config/fontconfig/fonts.conf
http://www.freedesktop.org/software/fontconfig/fontconfig-user.html
-->
<fontconfig>
<match target="font">
<edit name="antialias"> <bool>true</bool> </edit>
<edit name="rgba"> <const>rgb</const> </edit>
<edit name="hinting"> <bool>true</bool> </edit>
<edit name="hintstyle"> <const>hintmedium</const> </edit>
<edit name="autohint"> <bool>false</bool> </edit>
<edit name="lcdfilter"> <const>lcddefault</const> </edit>
<edit name="embeddedbitmap"><bool>false</bool> </edit>
</match>
<match target="font">
<test name="family" compare="contains">
<string>Inconsolata</string>
</test>
<edit name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<selectfont>
<rejectfont>
<pattern>
<patelt name="family"><string>Nimbus Sans L</string></patelt>
</pattern>
<pattern>
<patelt name="family"><string>Nimbus Mono L</string></patelt>
</pattern>
<pattern>
<patelt name="family"><string>URW Palladio L</string></patelt>
</pattern>
<pattern>
<patelt name="family"><string>Clean</string></patelt>
</pattern>
<pattern>
<patelt name="family"><string>FreeSans</string></patelt>
</pattern>
</rejectfont>
</selectfont>
<!-- Re-enable embedded bitmaps for CJK fonts -->
<match target="font">
<test name="lang" compare="contains"> <string>ja</string> </test>
<edit name="embeddedbitmap"> <bool>true</bool> </edit>
</match>
<match target="font">
<test name="lang" compare="contains"> <string>ko</string> </test>
<edit name="embeddedbitmap"> <bool>true</bool> </edit>
</match>
<match target="font">
<test name="lang" compare="contains"> <string>zh</string> </test>
<edit name="embeddedbitmap"> <bool>true</bool> </edit>
</match>
<!-- Enable autohinting for certain broken fonts -->
<match target="font">
<test name="family"> <string>Segoe UI</string> </test>
<edit name="autohint"> <bool>true</bool> </edit>
</match>
<!--
<alias binding="same">
<family>sans-serif</family>
<accept>
<family>Source Sans Pro</family>
</accept>
</alias>
-->
</fontconfig>
<!--
vim: ft=xml:ts=4:sw=4
-->
|