diff options
Diffstat (limited to 'fonts.conf.d/Linux/35-replace.conf')
-rw-r--r-- | fonts.conf.d/Linux/35-replace.conf | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/fonts.conf.d/Linux/35-replace.conf b/fonts.conf.d/Linux/35-replace.conf new file mode 100644 index 0000000..67bba85 --- /dev/null +++ b/fonts.conf.d/Linux/35-replace.conf | |||
@@ -0,0 +1,133 @@ | |||
1 | <?xml version='1.0'?> | ||
2 | <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | ||
3 | <fontconfig> | ||
4 | <match> | ||
5 | <test qual="any" name="family"> | ||
6 | <string>ArialPSMT</string> | ||
7 | </test> | ||
8 | <edit name="family" mode="prepend" binding="strong"> | ||
9 | <string>Arial</string> | ||
10 | </edit> | ||
11 | </match> | ||
12 | <match> | ||
13 | <test qual="any" name="family"> | ||
14 | <string>TimesNewRomanPSMT</string> | ||
15 | </test> | ||
16 | <edit name="family" mode="prepend" binding="strong"> | ||
17 | <string>Times New Roman</string> | ||
18 | </edit> | ||
19 | </match> | ||
20 | <match> | ||
21 | <test qual="any" name="family"> | ||
22 | <string>CourierNewPSMT</string> | ||
23 | </test> | ||
24 | <edit name="family" mode="prepend" binding="strong"> | ||
25 | <string>Courier New</string> | ||
26 | </edit> | ||
27 | </match> | ||
28 | |||
29 | <match> | ||
30 | <test qual="any" name="family"> | ||
31 | <string>HanaMinA</string> | ||
32 | </test> | ||
33 | <edit name="family" mode="append" binding="strong"> | ||
34 | <string>HanaMinB</string> | ||
35 | </edit> | ||
36 | </match> | ||
37 | <match> | ||
38 | <test qual="any" name="family"> | ||
39 | <string>HanaMin</string> | ||
40 | </test> | ||
41 | <edit name="family" mode="prepend" binding="same"> | ||
42 | <string>HanaMinA</string> | ||
43 | <string>HanaMinB</string> | ||
44 | </edit> | ||
45 | </match> | ||
46 | <match> | ||
47 | <test qual="any" name="family"> | ||
48 | <string>HAN NOM A</string> | ||
49 | </test> | ||
50 | <edit name="family" mode="append" binding="strong"> | ||
51 | <string>HAN NOM B</string> | ||
52 | </edit> | ||
53 | </match> | ||
54 | <match> | ||
55 | <test qual="any" name="family"> | ||
56 | <string>HAN NOM</string> | ||
57 | </test> | ||
58 | <edit name="family" mode="prepend" binding="same"> | ||
59 | <string>HAN NOM A</string> | ||
60 | <string>HAN NOM B</string> | ||
61 | </edit> | ||
62 | </match> | ||
63 | <match> | ||
64 | <test qual="any" name="family"> | ||
65 | <string>FZSongS-Extended</string> | ||
66 | </test> | ||
67 | <edit name="family" mode="append" binding="strong"> | ||
68 | <string>FZSongS-Extended(SIP)</string> | ||
69 | </edit> | ||
70 | </match> | ||
71 | <match> | ||
72 | <test qual="any" name="family"> | ||
73 | <string>Heiti SC</string> | ||
74 | </test> | ||
75 | <edit name="family" mode="append" binding="strong"> | ||
76 | <string>Heiti TC</string> | ||
77 | </edit> | ||
78 | </match> | ||
79 | |||
80 | <match> | ||
81 | <test qual="any" name="family"> | ||
82 | <string>Comic Sans MS</string> | ||
83 | </test> | ||
84 | <edit name="family" mode="append" binding="strong"> | ||
85 | <string>方正喵呜体</string> | ||
86 | </edit> | ||
87 | </match> | ||
88 | |||
89 | <match> | ||
90 | <test name="family"> | ||
91 | <string>STSong</string> | ||
92 | </test> | ||
93 | <test name="weight" compare="more"> | ||
94 | <const>medium</const> | ||
95 | </test> | ||
96 | <edit name="family" mode="assign" binding="strong"> | ||
97 | <string>STZhongSong</string> | ||
98 | </edit> | ||
99 | <edit name="weight" mode="assign" binding="strong"> | ||
100 | <const>medium</const> | ||
101 | </edit> | ||
102 | </match> | ||
103 | <match> | ||
104 | <test name="family"> | ||
105 | <string>STXihei</string> | ||
106 | </test> | ||
107 | <test name="weight" compare="more"> | ||
108 | <const>medium</const> | ||
109 | </test> | ||
110 | <edit name="family" mode="assign" binding="strong"> | ||
111 | <string>STHeiti</string> | ||
112 | </edit> | ||
113 | <edit name="weight" mode="assign" binding="strong"> | ||
114 | <const>medium</const> | ||
115 | </edit> | ||
116 | </match> | ||
117 | <match> | ||
118 | <test name="family"> | ||
119 | <string>Apple Color Emoji</string> | ||
120 | </test> | ||
121 | <edit name="family" mode="prepend" binding="strong"> | ||
122 | <string>Noto Color Emoji</string> | ||
123 | </edit> | ||
124 | </match> | ||
125 | <match> | ||
126 | <test name="family"> | ||
127 | <string>Segoe UI Emoji</string> | ||
128 | </test> | ||
129 | <edit name="family" mode="prepend" binding="strong"> | ||
130 | <string>Noto Color Emoji</string> | ||
131 | </edit> | ||
132 | </match> | ||
133 | </fontconfig> | ||