1
0
Fork 0
dotfiles/files/.config/fontconfig/fonts.conf

87 lines
2.2 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- default font -->
<match>
<edit mode="prepend" name="family">
<string>sans-serif</string>
</edit>
</match>
<!-- default sans-serif -->
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="same"><string>Roboto</string></edit>
</match>
<!-- default serif -->
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="same"><string>Roboto Slab</string></edit>
</match>
<!-- default mono -->
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<!--<edit name="family" mode="prepend" binding="same"><string>Hack Nerd Font</string></edit>-->
<edit name="family" mode="prepend" binding="same"><string>Hack</string></edit>
<edit name="family" mode="append" binding="same"><string>Roboto Mono</string></edit>
</match>
<!-- disable bitmap fonts -->
<match target="font">
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
<!-- fallback -->
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>Open Sans</family>
<family>Droid Sans</family>
<family>Ubuntu</family>
<family>Roboto</family>
<family>NotoSansCJK</family>
<family>Source Han Sans JP</family>
<family>IPAPGothic</family>
<family>VL PGothic</family>
<family>Koruri</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>Droid Serif</family>
<family>Roboto Slab</family>
<family>IPAPMincho</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Sans Mono</family>
<family>Inconsolatazi4</family>
<family>Ubuntu Mono</family>
<family>Droid Sans Mono</family>
<family>Roboto Mono</family>
<family>IPAGothic</family>
</prefer>
</alias>
<alias>
<family>Lucida Console</family>
<prefer>
<family>monospace</family>
</prefer>
</alias>
</fontconfig>