aboutsummaryrefslogtreecommitdiffstats
path: root/_config/fontconfig/conf.d/65-noto-cjk-ja.conf
diff options
context:
space:
mode:
Diffstat (limited to '_config/fontconfig/conf.d/65-noto-cjk-ja.conf')
-rw-r--r--_config/fontconfig/conf.d/65-noto-cjk-ja.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/_config/fontconfig/conf.d/65-noto-cjk-ja.conf b/_config/fontconfig/conf.d/65-noto-cjk-ja.conf
new file mode 100644
index 0000000..0ab7e53
--- /dev/null
+++ b/_config/fontconfig/conf.d/65-noto-cjk-ja.conf
@@ -0,0 +1,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>