aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/fontconfig/fonts.conf49
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>