aboutsummaryrefslogtreecommitdiffstats
path: root/_config/fontconfig/conf.d/65-noto-cjk-zh-tw.conf
blob: 5df275dbf3a3bf3d22905ecc75f2444693be9a28 (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
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

  <!--
      Google Noto CJK font configurations for traditional Chinese

      Credit:
      * Fedora package: google-noto-cjk-fonts
  -->

  <!-- sans-serif -->
  <match>
    <test name="lang">
      <string>zh-tw</string>
    </test>
    <test name="family">
      <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend">
      <string>Noto Sans CJK TC</string>
    </edit>
  </match>
  <match>
    <test name="lang">
      <string>zh-hk</string>
    </test>
    <test name="family">
      <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend">
      <string>Noto Sans CJK TC</string>
    </edit>
  </match>

  <!-- monospace -->
  <match>
    <test name="lang">
      <string>zh-tw</string>
    </test>
    <test name="family">
      <string>monospace</string>
    </test>
    <edit name="family" mode="prepend">
      <string>Noto Sans Mono CJK TC</string>
    </edit>
  </match>
  <match>
    <test name="lang">
      <string>zh-hk</string>
    </test>
    <test name="family">
      <string>monospace</string>
    </test>
    <edit name="family" mode="prepend">
      <string>Noto Sans Mono CJK TC</string>
    </edit>
  </match>
</fontconfig>