-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfonts.conf
85 lines (75 loc) · 2.16 KB
/
fonts.conf
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
81
82
83
84
85
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- For sans-serif font -->
<match target="pattern">
<test name="family" compare="eq"><string>Noto Sans</string></test>
<edit name="family" mode="prepend_first" binding="strong">
<string>SF Pro Text</string>
</edit>
</match>
<match target="pattern">
<test name="family" compare="eq"><string>Liberation Sans</string></test>
<edit name="family" mode="prepend_first" binding="strong">
<string>SF Pro Text</string>
</edit>
</match>
<match>
<test name="family" compare="eq"><string>Segoe UI</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>SF Pro Text</string>
</edit>
</match>
<!-- For mono font -->
<match target="pattern">
<test name="family" compare="eq"><string>Liberation Mono</string></test>
<edit name="family" mode="prepend_first" binding="strong">
<string>SF Mono</string>
</edit>
</match>
<!-- For emoji -->
<match target="pattern">
<test name="family" compare="eq"><string>monospace</string></test>
<edit name="family" mode="append" binding="strong">
<string>SF Mono</string>
<string>Apple Color Emoji</string>
</edit>
</match>
<match>
<test name="family" compare="eq"><string>sans-serif</string></test>
<edit name="family" mode="append" binding="strong">
<string>SF Pro Text</string>
<string>Apple Color Emoji</string>
</edit>
</match>
<selectfont>
<rejectfont>
<pattern>
<patelt name="family">
<string>Symbola</string>
</patelt>
</pattern>
</rejectfont>
</selectfont>
<!-- Font hinting -->
<match target="font">
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintnone</const>
</edit>
</match>
<match target="font">
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>