Created
November 15, 2014 17:41
-
-
Save mrjohannchang/d5ac039a66d02fb7411b to your computer and use it in GitHub Desktop.
.config/fontconfig/conf.d/20-noto-cjk.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<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> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</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 CJK TC</string> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</string> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<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> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</string> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<test name="lang"> | |
<string>zh-hk</string> | |
</test> | |
<test name="family"> | |
<string>monospace</string> | |
</test> | |
<edit name="family" mode="prepend"> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</string> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<test name="lang"> | |
<string>zh-mo</string> | |
</test> | |
<test name="family"> | |
<string>sans-serif</string> | |
</test> | |
<edit name="family" mode="prepend"> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</string> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<test name="lang"> | |
<string>zh-mo</string> | |
</test> | |
<test name="family"> | |
<string>monospace</string> | |
</test> | |
<edit name="family" mode="prepend"> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK JP</string> | |
<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> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans 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 CJK SC</string> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</string> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<test name="lang"> | |
<string>zh-sg</string> | |
</test> | |
<test name="family"> | |
<string>sans-serif</string> | |
</test> | |
<edit name="family" mode="prepend"> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</string> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<test name="lang"> | |
<string>zh-sg</string> | |
</test> | |
<test name="family"> | |
<string>monospace</string> | |
</test> | |
<edit name="family" mode="prepend"> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</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> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK KR</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 CJK JP</string> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK KR</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> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK TC</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 CJK KR</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK TC</string> | |
</edit> | |
</match> | |
<match target="pattern"> | |
<test name="family"> | |
<string>sans-serif</string> | |
</test> | |
<edit name="family" mode="prepend"> | |
<string>Noto Sans CJK TC</string> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</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 CJK TC</string> | |
<string>Noto Sans CJK SC</string> | |
<string>Noto Sans CJK JP</string> | |
<string>Noto Sans CJK KR</string> | |
</edit> | |
</match> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment