Created
March 7, 2026 09:02
-
-
Save zhanghai/c831d16c268ffcbf03d7c431dfd3a704 to your computer and use it in GitHub Desktop.
/etc/fonts/local.conf
This file contains hidden or 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="scan"> | |
| <test name="family"> | |
| <string>WenQuanYi Micro Hei</string> | |
| </test> | |
| <edit name="charset"> | |
| <minus> | |
| <name>charset</name> | |
| <charset> | |
| <int>0x2103</int> | |
| <int>0x2109</int> | |
| <int>0x212B</int> | |
| <int>0x2164</int> | |
| <int>0x2169</int> | |
| </charset> | |
| </minus> | |
| </edit> | |
| </match> | |
| <match target="scan"> | |
| <test name="family"> | |
| <string>WenQuanYi Micro Hei Mono</string> | |
| </test> | |
| <edit name="charset"> | |
| <minus> | |
| <name>charset</name> | |
| <charset> | |
| <int>0x2103</int> | |
| <int>0x2109</int> | |
| <int>0x212B</int> | |
| <int>0x2164</int> | |
| <int>0x2169</int> | |
| </charset> | |
| </minus> | |
| </edit> | |
| </match> | |
| <match> | |
| <test name="family"><string>sans-serif</string></test> | |
| <edit name="family" mode="prepend" binding="strong"> | |
| <string>Noto Sans CJK SC</string> | |
| <string>Noto Color Emoji</string> | |
| </edit> | |
| </match> | |
| <match> | |
| <test name="family"><string>serif</string></test> | |
| <edit name="family" mode="prepend" binding="strong"> | |
| <string>Noto Serif CJK SC</string> | |
| <string>Noto Color Emoji</string> | |
| </edit> | |
| </match> | |
| <match> | |
| <test name="family"><string>monospace</string></test> | |
| <edit name="family" mode="prepend" binding="strong"> | |
| <string>WenQuanYi Micro Hei Mono</string> | |
| <string>Noto Sans Mono</string> | |
| <string>Noto Sans Mono CJK SC</string> | |
| <string>Noto Color Emoji</string> | |
| </edit> | |
| </match> | |
| <match> | |
| <test name="family"><string>system-ui</string></test> | |
| <edit name="family" mode="prepend" binding="strong"> | |
| <string>Noto Sans CJK SC</string> | |
| <string>Noto Color Emoji</string> | |
| </edit> | |
| </match> | |
| </fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment