diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-03-02 15:52:43 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-03-02 15:52:43 +0100 |
commit | 932a3700512319e43ac788a55996a236b612f5f1 (patch) | |
tree | b9054270f42527c35e505e4301b1b973a571f7ed | |
parent | d5007e1d0a7e70380db6cfddb22bb1c93e137d13 (diff) |
move system fontconfig to user dir
-rw-r--r-- | .config/fontconfig/fonts.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf new file mode 100644 index 0000000..b3897e9 --- /dev/null +++ b/.config/fontconfig/fonts.conf @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> +<fontconfig> + <description>System default fonts with Japanese fallback fonts</description> + <alias binding="strong"> + <family>sans-serif</family> + <prefer><family>Inter</family></prefer> + </alias> + <alias binding="strong"> + <family>serif</family> + <prefer><family>TeX Gyre Schola</family></prefer> + </alias> + <alias binding="strong"> + <family>monospace</family> + <prefer><family>JetBrainsMono Nerd Font</family></prefer> + </alias> + <alias binding="strong"> + <family>system-ui</family> + <prefer><family>Inter</family></prefer> + </alias> + + <match target="pattern"> + <test name="family"><string>sans-serif</string></test> + <edit name="family" mode="append" binding="strong"><string>Hiragino Kaku Gothic ProN</string></edit> + </match> + <match target="pattern"> + <test name="family"><string>serif</string></test> + <edit name="family" mode="append" binding="strong"><string>Hiragino Mincho ProN</string></edit> + </match> +</fontconfig> |