mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
121 lines
3.5 KiB
121 lines
3.5 KiB
<?xml version='1.0'?>
|
|
<!DOCTYPE fontconfig SYSTEM "/usr/share/xml/fontconfig/fonts.dtd">
|
|
<fontconfig>
|
|
<!-- Settings -->
|
|
<match target="font">
|
|
<edit name="autohint" mode="assign">
|
|
<bool>true</bool>
|
|
</edit>
|
|
</match>
|
|
<!-- Default serif fonts -->
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>serif</string>
|
|
</test>
|
|
<edit name="family" mode="prepend" binding="same">
|
|
<string>Linux Libertine</string>
|
|
</edit>
|
|
<edit mode="append" name="family">
|
|
<string>Joy Pixels</string>
|
|
</edit>
|
|
<edit mode="append" name="family">
|
|
<string>Font Awesome 6 Free</string>
|
|
</edit>
|
|
</match>
|
|
<!-- Default sans-serif fonts -->
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>serif</string>
|
|
</test>
|
|
<edit name="family" mode="prepend" binding="same">
|
|
<string>Linux Biolinum</string>
|
|
</edit>
|
|
<edit mode="append" name="family">
|
|
<string>Joy Pixels</string>
|
|
</edit>
|
|
<edit mode="append" name="family">
|
|
<string>Font Awesome 6 Free</string>
|
|
</edit>
|
|
</match>
|
|
<!-- Default mono fonts -->
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit name="family" mode="prepend" binding="same">
|
|
<string>JetBrainsMono NFM</string>
|
|
</edit>
|
|
<edit mode="append" name="family">
|
|
<string>Joy Pixels</string>
|
|
</edit>
|
|
<edit mode="append" name="family">
|
|
<string>Font Awesome 6 Free</string>
|
|
</edit>
|
|
</match>
|
|
<!-- Japanese -->
|
|
<match>
|
|
<test compare="contains" name="lang">
|
|
<string>ja</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>serif</string>
|
|
</test>
|
|
<edit mode="prepend" name="family">
|
|
<string>Source Han Serif JP</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test name="lang" compare="contains">
|
|
<string>ja</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit name="family" mode="append" binding="strong">
|
|
<string>Source Han Mono</string>
|
|
</edit>
|
|
</match>
|
|
<!-- Korean -->
|
|
<match>
|
|
<test compare="contains" name="lang">
|
|
<string>ko</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>serif</string>
|
|
</test>
|
|
<edit mode="prepend" name="family">
|
|
<string>Source Han Serif KR</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test name="lang" compare="contains">
|
|
<string>ko</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit name="family" mode="append" binding="strong">
|
|
<string>Source Han Mono K</string>
|
|
</edit>
|
|
</match>
|
|
<!-- Fallback fonts preference order -->
|
|
<alias>
|
|
<family>serif</family>
|
|
<prefer>
|
|
<family>Linux Libertine</family>
|
|
</prefer>
|
|
</alias>
|
|
<alias>
|
|
<family>sans-serif</family>
|
|
<prefer>
|
|
<family>Linux Biolinum</family>
|
|
</prefer>
|
|
</alias>
|
|
<alias>
|
|
<family>monospace</family>
|
|
<prefer>
|
|
<family>DejaVu Sans Mono</family>
|
|
</prefer>
|
|
</alias>
|
|
</fontconfig>
|