diff options
Diffstat (limited to 'fonts.conf.d/Linux/68-source-han-sans.conf')
-rw-r--r-- | fonts.conf.d/Linux/68-source-han-sans.conf | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/fonts.conf.d/Linux/68-source-han-sans.conf b/fonts.conf.d/Linux/68-source-han-sans.conf new file mode 100644 index 0000000..103b792 --- /dev/null +++ b/fonts.conf.d/Linux/68-source-han-sans.conf | |||
@@ -0,0 +1,49 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | ||
3 | <fontconfig> | ||
4 | <match> | ||
5 | <test name="family"><string>Source Han Sans Auto</string></test> | ||
6 | <test name="lang" compare="contains"> | ||
7 | <string>ja</string> | ||
8 | </test> | ||
9 | <edit name="family" mode="assign" binding="strong"> | ||
10 | <string>Source Han Sans</string> | ||
11 | </edit> | ||
12 | </match> | ||
13 | <match> | ||
14 | <test name="family"><string>Source Han Sans Auto</string></test> | ||
15 | <test name="lang" compare="contains"> | ||
16 | <string>zh-cn</string> | ||
17 | </test> | ||
18 | <edit name="family" mode="assign" binding="strong"> | ||
19 | <string>Source Han Sans SC</string> | ||
20 | </edit> | ||
21 | </match> | ||
22 | <match> | ||
23 | <test name="family"><string>Source Han Sans Auto</string></test> | ||
24 | <test name="lang" compare="contains"> | ||
25 | <string>zh-tw</string> | ||
26 | </test> | ||
27 | <edit name="family" mode="assign" binding="strong"> | ||
28 | <string>Source Han Sans TC</string> | ||
29 | </edit> | ||
30 | </match> | ||
31 | <match> | ||
32 | <test name="family"><string>Source Han Sans Auto</string></test> | ||
33 | <test name="lang" compare="contains"> | ||
34 | <string>zh-hk</string> | ||
35 | </test> | ||
36 | <edit name="family" mode="assign" binding="strong"> | ||
37 | <string>Source Han Sans TC</string> | ||
38 | </edit> | ||
39 | </match> | ||
40 | <match> | ||
41 | <test name="family"><string>Source Han Sans Auto</string></test> | ||
42 | <test name="lang" compare="contains"> | ||
43 | <string>ko</string> | ||
44 | </test> | ||
45 | <edit name="family" mode="assign" binding="strong"> | ||
46 | <string>Source Han Sans K</string> | ||
47 | </edit> | ||
48 | </match> | ||
49 | </fontconfig> | ||