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

fontconfig: Update fontawesome, remove nerdfonts

This commit is contained in:
Joe Groocock 2018-07-30 09:11:24 +01:00
parent 28dda3e9b0
commit e4e62ae40d
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -1,56 +1,37 @@
<?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>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Sans</string>
<string>Noto Color Emoji</string>
<string>FontAwesome 5 Pro Light</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>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Serif</string>
<string>Noto Color Emoji</string>
<string>FontAwesome 5 Pro Light</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>
<edit name="family" mode="prepend" binding="strong">
<string>Source Code Pro</string>
<string>Noto Color Emoji</string>
<string>FontAwesome 5 Pro Light</string>
</edit>
</match>
<match target="font">
<test qual="all" name="family" compare="eq"><string>SauceCodePro Nerd Font Mono</string></test>
<test qual="all" name="family" compare="eq"><string>Noto Sans</string></test>
<edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
</match>
<match target="font">
<test qual="all" name="family" compare="eq"><string>Source Code Pro</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>