Add .config/fontconfig/conf.d/10-sans-serif.conf

Add .config/fontconfig/conf.d/20-serif.conf
Add .config/fontconfig/conf.d/30-monospace.conf
This commit is contained in:
Anthony Rodriguez 2024-06-03 18:48:50 +02:00
parent 0f0c7965f8
commit 10ff4329bb
3 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>Noto Color Emoji</family>
<family>Noto Emoji</family>
<family>DejaVu Sans</family>
</prefer>
</alias>
</fontconfig>

View file

@ -0,0 +1,14 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>Noto Color Emoji</family>
<family>Noto Emoji</family>
<family>DejaVu Serif</family>
</prefer>
</alias>
</fontconfig>

View file

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Operator Mono</family>
</prefer>
</alias>
<match target="pattern">
<test qual="any" name="family">
<string>Operator Mono</string>
</test>
<edit name="weight" mode="assign">
<int>200</int> <!-- 200 is commonly used for bold weights -->
</edit>
</match>
</fontconfig>