summaryrefslogtreecommitdiff
path: root/media-fonts/noto-cjk/files
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-12-13 16:56:33 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-12-13 16:56:50 -0500
commitbaa2aa3ab02c370f269cb3d02987eabbb323b1a4 (patch)
tree13fa5d655efacf18b6a9070d63d2a9e0314c32ec /media-fonts/noto-cjk/files
parent4d086e67e98a9bedda386b30551051fd52c01deb (diff)
downloadgentoo-overlay-baa2aa3ab02c370f269cb3d02987eabbb323b1a4.tar.xz
gentoo-overlay-baa2aa3ab02c370f269cb3d02987eabbb323b1a4.zip
media-fonts/noto-cjk: import/bump
Diffstat (limited to 'media-fonts/noto-cjk/files')
-rw-r--r--media-fonts/noto-cjk/files/70-noto-cjk.conf147
1 files changed, 147 insertions, 0 deletions
diff --git a/media-fonts/noto-cjk/files/70-noto-cjk.conf b/media-fonts/noto-cjk/files/70-noto-cjk.conf
new file mode 100644
index 0000000..c1052bb
--- /dev/null
+++ b/media-fonts/noto-cjk/files/70-noto-cjk.conf
@@ -0,0 +1,147 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <match target="pattern">
+ <test name="lang">
+ <string>ja</string>
+ </test>
+ <test name="family">
+ <string>serif</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Noto Serif CJK JP</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="lang">
+ <string>ko</string>
+ </test>
+ <test name="family">
+ <string>serif</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Noto Serif CJK KR</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="lang">
+ <string>zh-cn</string>
+ </test>
+ <test name="family">
+ <string>serif</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Noto Serif CJK SC</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="lang">
+ <string>zh-tw</string>
+ </test>
+ <test name="family">
+ <string>serif</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Noto Serif CJK TC</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <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>
+
+ <match target="pattern">
+ <test name="lang">
+ <string>ko</string>
+ </test>
+ <test name="family">
+ <string>sans-serif</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Noto Sans CJK KR</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="lang">
+ <string>zh-cn</string>
+ </test>
+ <test name="family">
+ <string>sans-serif</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Noto Sans CJK SC</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <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 target="pattern">
+ <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>
+
+ <match target="pattern">
+ <test name="lang">
+ <string>ko</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Noto Sans Mono CJK KR</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <test name="lang">
+ <string>zh-cn</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Noto Sans Mono CJK SC</string>
+ </edit>
+ </match>
+
+ <match target="pattern">
+ <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>
+</fontconfig>