diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-12-06 21:55:02 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-12-06 21:55:02 +0800 |
commit | c51a8d9f62ba9fd260ab3d4cde164c081ed20988 (patch) | |
tree | cbd106acbad1498d50989a4993288f1901e414eb /_config/fontconfig/conf.d/41-noto-cjk-sans-sc.conf | |
parent | ed5c60d80b163b4ba7204d7ab694c0ca0607cffa (diff) | |
download | dotfiles-c51a8d9f62ba9fd260ab3d4cde164c081ed20988.tar.bz2 |
fontconfig: Re-order configs; Move "fonts.conf" as "50-user.conf"
NOTE:
Explicitly set the orders for Noto CJK fonts (SC, TC, JP, KR), in order
to get rid of "LC_CTYPE" environment variable.
Therefore, the preferred English fonts (e.g., Source Code Pro, Source
Sans Pro) are by default used, avoiding the Chinese fonts being prepend
at the beginning.
Diffstat (limited to '_config/fontconfig/conf.d/41-noto-cjk-sans-sc.conf')
-rw-r--r-- | _config/fontconfig/conf.d/41-noto-cjk-sans-sc.conf | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/_config/fontconfig/conf.d/41-noto-cjk-sans-sc.conf b/_config/fontconfig/conf.d/41-noto-cjk-sans-sc.conf deleted file mode 100644 index 8b5c682..0000000 --- a/_config/fontconfig/conf.d/41-noto-cjk-sans-sc.conf +++ /dev/null @@ -1,101 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> -<fontconfig> - - <!-- - Google Noto CJK font configurations for simplified Chinese - - Credit: - * Fedora package: google-noto-cjk-fonts - --> - - <match> - <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> - <test name="lang"> - <string>zh-sg</string> - </test> - <test name="family"> - <string>monospace</string> - </test> - <edit name="family" mode="prepend"> - <string>Noto Sans Mono CJK SC</string> - </edit> - </match> - - <alias> - <family>Noto Sans Mono CJK SC</family> - <default> - <family>monospace</family> - </default> - </alias> - - <match> - <test name="lang"> - <string>zh-cn</string> - </test> - <test name="family"> - <string>serif</string> - </test> - <edit name="family" mode="prepend"> - <string>Noto Sans CJK SC</string> - </edit> - </match> - <match> - <test name="lang"> - <string>zh-sg</string> - </test> - <test name="family"> - <string>serif</string> - </test> - <edit name="family" mode="prepend"> - <string>Noto Sans CJK SC</string> - </edit> - </match> - - <alias> - <family>Noto Sans CJK SC</family> - <default> - <family>serif</family> - </default> - </alias> - - <match> - <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> - <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> - </edit> - </match> - - <alias> - <family>Noto Sans CJK SC</family> - <default> - <family>sans-serif</family> - </default> - </alias> -</fontconfig> |