diff options
author | Guangxiong Lin <[email protected]> | 2022-02-22 00:30:23 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-02-22 00:30:23 +0800 |
commit | 7654a356d0586cab57612434add23e177010b1f3 (patch) | |
tree | 7cd4944713515c67e76904dc846dbef2fe2ce989 | |
parent | 703b95028a83e42251f6bda8d6e50b91d32c89f3 (diff) | |
download | dotfiles-7654a356d0586cab57612434add23e177010b1f3.tar.gz dotfiles-7654a356d0586cab57612434add23e177010b1f3.tar.bz2 dotfiles-7654a356d0586cab57612434add23e177010b1f3.zip |
Add fontconfig
-rw-r--r-- | .config/fontconfig/fonts.conf | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf new file mode 100644 index 0000000..17215c0 --- /dev/null +++ b/.config/fontconfig/fonts.conf @@ -0,0 +1,49 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> +<fontconfig> + + <!-- Default system-ui fonts --> + <match target="pattern"> + <test name="family"> + <string>system-ui</string> + </test> + <edit name="family" mode="prepend" binding="strong"> + <string>sans-serif</string> + </edit> + </match> + + <!-- Default sans-serif fonts--> + <match target="pattern"> + <test name="family"> + <string>sans-serif</string> + </test> + <edit name="family" mode="prepend" binding="strong"> + <string>Noto Sans CJK SC</string> + <string>DejaVu Sans</string> + </edit> + </match> + + <!-- Default serif fonts--> + <match target="pattern"> + <test name="family"> + <string>serif</string> + </test> + <edit name="family" mode="prepend" binding="strong"> + <string>Noto Serif CJK SC</string> + <string>DejaVu Serif</string> + </edit> + </match> + + <!-- Default monospace fonts--> + <match target="pattern"> + <test name="family"> + <string>monospace</string> + </test> + <edit name="family" mode="prepend" binding="strong"> + <string>Noto Sans Mono CJK SC</string> + <string>DejaVu Sans Mono</string> + <string>Symbols Nerd Font</string> + </edit> + </match> + +</fontconfig> |