1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/.config/fontconfig/fonts.conf

59 lines
2.2 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="family"><string>Noto Sans</string></test>
<edit name="family" mode="assign" binding="strong">
<string>NotoSans Nerd Font</string>
</edit>
</match>
<match>
<test name="family"><string>Noto Serif</string></test>
<edit name="family" mode="assign" binding="strong">
<string>NotoSerif Nerd Font</string>
</edit>
</match>
<match>
<test name="family"><string>Source Code Pro</string></test>
<edit name="family" mode="assign" binding="strong">
<string>SauceCodePro Nerd Font</string>
</edit>
</match>
<match>
<test qual="any" name="family"><string>sans-serif</string></test>
<edit name="family" mode="prepend" binding="same">
<string>NotoSans Nerd Font</string>
<string>Noto Sans</string>
<string>Noto Color Emoji</string>
</edit>
</match>
<match target="font">
<test qual="all" name="family" compare="eq"><string>Noto Sans</string></test>
<edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
</match>
<match>
<test qual="any" name="family"><string>serif</string></test>
<edit name="family" mode="prepend" binding="same">
<string>NotoSerif Nerd Font</string>
<string>Noto Serif</string>
<string>Noto Color Emoji</string>
</edit>
</match>
<match>
<test qual="any" name="family"><string>monospace</string></test>
<edit name="family" mode="prepend" binding="same">
<string>SauceCodePro Nerd Font Mono</string>
<string>Source Code Pro</string>
<string>Noto Color Emoji</string>
</edit>
</match>
<match target="font">
<test qual="all" name="family" compare="eq"><string>SauceCodePro Nerd Font Mono</string></test>
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
</fontconfig>