Add fontconfig => Monospace and Helvetica alias

This commit is contained in:
fanyx 2021-10-05 13:04:54 +02:00
parent 47b048d0ec
commit ea21b2466d
1 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,53 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir prefix="xdg">fonts</dir>
<match target="pattern">
<test name="family" qual="any">
<string>monospace</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>JetBrains Mono</string>
</edit>
</match>
<match>
<test name="family" qual="any">
<string>regular</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>FOT-RodinBokutoh Pro</string>
</edit>
</match>
<match>
<test name="family" qual="any">
<string>sans-serif</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>FOT-RodinBokutoh Pro</string>
</edit>
</match>
<match>
<test name="family" qual="any">
<string>serif</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>FOT-RodinBokutoh Pro</string>
</edit>
</match>
<alias>
<family>Helvetica</family>
<prefer>
<family>FOT-RodinBokutoh Pro</family>
</prefer>
</alias>
<alias>
<family>Liberation Mono</family>
<prefer>
<family>JetBrains Mono</family>
</prefer>
</alias>
</fontconfig>