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

  <!--
      Google Noto CJK font configurations for Japanese

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

  <!-- sans-serif -->
  <match>
    <test name="lang">
      <string>ja</string>
    </test>
    <test name="family">
      <string>sans-serif</string>
    </test>
    <edit name="family" mode="prepend">
      <string>Noto Sans CJK JP</string>
    </edit>
  </match>

  <!-- monospace -->
  <match>
    <test name="lang">
      <string>ja</string>
    </test>
    <test name="family">
      <string>monospace</string>
    </test>
    <edit name="family" mode="prepend">
      <string>Noto Sans Mono CJK JP</string>
    </edit>
  </match>
</fontconfig>