summaryrefslogtreecommitdiff
path: root/source/x/noto-cjk-fonts-ttf/70-noto-cjk.conf
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-07-29 19:35:55 +0000
committerEric Hameleers <alien@slackware.com>2020-07-30 08:59:55 +0200
commit7256a0c44b82c629923794c30a0b5a19e7e20718 (patch)
treef4680e8917525f58c6cff635ff6dc867b1646acb /source/x/noto-cjk-fonts-ttf/70-noto-cjk.conf
parent9faa0e110ecf14ad2a82d6c7fd2c72a78a49ea0d (diff)
downloadcurrent-7256a0c44b82c629923794c30a0b5a19e7e20718.tar.gz
Wed Jul 29 19:35:55 UTC 202020200729193555
a/kernel-generic-5.4.54-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.54-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.54-x86_64-1.txz: Upgraded. ap/inxi-20200728_6ce9149b-noarch-1.txz: Added. A system information script. Not as flashy as neofetch, but with more useful output options. Thanks to drgibbon for the suggestion. ap/nano-5.0-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.54-x86-1.txz: Upgraded. d/vala-0.48.8-x86_64-1.txz: Upgraded. k/kernel-source-5.4.54-noarch-1.txz: Upgraded. l/jasper-2.0.19-x86_64-1.txz: Upgraded. x/hack-fonts-ttf-3.003-noarch-1.txz: Added. Thanks to alienBOB. x/noto-cjk-fonts-ttf-2.001-noarch-1.txz: Added. Thanks to alienBOB. x/noto-fonts-ttf-20171024-noarch-1.txz: Added. Thanks to alienBOB. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/x/noto-cjk-fonts-ttf/70-noto-cjk.conf')
-rw-r--r--source/x/noto-cjk-fonts-ttf/70-noto-cjk.conf147
1 files changed, 147 insertions, 0 deletions
diff --git a/source/x/noto-cjk-fonts-ttf/70-noto-cjk.conf b/source/x/noto-cjk-fonts-ttf/70-noto-cjk.conf
new file mode 100644
index 00000000..c1052bb4
--- /dev/null
+++ b/source/x/noto-cjk-fonts-ttf/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>