summarylogtreecommitdiffstats
path: root/70-noto-cjk.conf
blob: 1078d550b911acba5d5800fed117c56b188e947a (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
	<description>Append noto-fonts-cjk to noto-fonts according to the locale</description>
	<!-- Noto Sans -->
	<match target="pattern">
		<test name="lang"><string>zh-cn</string></test>
		<test name="family" qual="any"><string>Noto Sans</string></test>
		<edit name="family" mode="append"><string>Noto Sans CJK SC</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>zh-sg</string></test>
		<test name="family" qual="any"><string>Noto Sans</string></test>
		<edit name="family" mode="append"><string>Noto Sans CJK SC</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>zh-hk</string></test>
		<test name="family" qual="any"><string>Noto Sans</string></test>
		<edit name="family" mode="append"><string>Noto Sans CJK HK</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>zh-tw</string></test>
		<test name="family" qual="any"><string>Noto Sans</string></test>
		<edit name="family" mode="append"><string>Noto Sans CJK TC</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>ja</string></test>
		<test name="family" qual="any"><string>Noto Sans</string></test>
		<edit name="family" mode="append"><string>Noto Sans CJK JP</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>ko</string></test>
		<test name="family" qual="any"><string>Noto Sans</string></test>
		<edit name="family" mode="append"><string>Noto Sans CJK KR</string></edit>
	</match>

	<!-- Noto Serif -->
	<match target="pattern">
		<test name="lang"><string>zh-cn</string></test>
		<test name="family" qual="any"><string>Noto Serif</string></test>
		<edit name="family" mode="append"><string>Noto Serif CJK SC</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>zh-sg</string></test>
		<test name="family" qual="any"><string>Noto Serif</string></test>
		<edit name="family" mode="append"><string>Noto Serif CJK SC</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>zh-hk</string></test>
		<test name="family" qual="any"><string>Noto Serif</string></test>
		<edit name="family" mode="append"><string>Noto Serif CJK HK</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>zh-tw</string></test>
		<test name="family" qual="any"><string>Noto Serif</string></test>
		<edit name="family" mode="append"><string>Noto Serif CJK TC</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>ja</string></test>
		<test name="family" qual="any"><string>Noto Serif</string></test>
		<edit name="family" mode="append"><string>Noto Serif CJK JP</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>ko</string></test>
		<test name="family" qual="any"><string>Noto Serif</string></test>
		<edit name="family" mode="append"><string>Noto Serif CJK KR</string></edit>
	</match>

	<!-- Noto Sans Mono -->
	<match target="pattern">
		<test name="lang"><string>zh-cn</string></test>
		<test name="family" qual="any"><string>Noto Sans Mono</string></test>
		<edit name="family" mode="append"><string>Noto Sans Mono CJK SC</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>zh-sg</string></test>
		<test name="family" qual="any"><string>Noto Sans Mono</string></test>
		<edit name="family" mode="append"><string>Noto Sans Mono CJK SC</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>zh-hk</string></test>
		<test name="family" qual="any"><string>Noto Sans Mono</string></test>
		<edit name="family" mode="append"><string>Noto Sans Mono CJK HK</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>zh-tw</string></test>
		<test name="family" qual="any"><string>Noto Sans Mono</string></test>
		<edit name="family" mode="append"><string>Noto Sans Mono CJK TC</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>ja</string></test>
		<test name="family" qual="any"><string>Noto Sans Mono</string></test>
		<edit name="family" mode="append"><string>Noto Sans Mono CJK JP</string></edit>
	</match>
	<match target="pattern">
		<test name="lang"><string>ko</string></test>
		<test name="family" qual="any"><string>Noto Sans Mono</string></test>
		<edit name="family" mode="append"><string>Noto Sans Mono CJK KR</string></edit>
	</match>
</fontconfig>