1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-30 10:33:16 +00:00

Fontconfig: clear sans as default to fix mpv

This commit is contained in:
Phantop 2020-06-20 15:45:43 -04:00
parent 6e40698209
commit a9416d7800

View file

@ -1,36 +1,48 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig> <fontconfig>
<match target="font"> <match target="font">
<edit mode="assign" name="hinting"> <edit mode="assign" name="hinting">
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match> </match>
<match target="font"> <match target="font">
<edit mode="assign" name="hintstyle"> <edit mode="assign" name="hintstyle">
<const>hintslight</const> <const>hintslight</const>
</edit> </edit>
</match> </match>
<match target="font"> <match target="font">
<edit mode="assign" name="antialias"> <edit mode="assign" name="antialias">
<bool>true</bool> <bool>true</bool>
</edit> </edit>
</match> </match>
<match target="font"> <match target="font">
<edit mode="assign" name="rgba"> <edit mode="assign" name="rgba">
<const>rgb</const> <const>rgb</const>
</edit> </edit>
</match> </match>
<match target="font"> <match target="font">
<edit mode="assign" name="lcdfilter"> <edit mode="assign" name="lcdfilter">
<const>lcddefault</const> <const>lcddefault</const>
</edit> </edit>
</match> </match>
<dir>~/.fonts</dir> <dir>~/.fonts</dir>
<alias binding="strong"> <alias binding="strong">
<family>monospace</family> <family>monospace</family>
<prefer> <prefer>
<family>Hack</family> <family>Hack</family>
</prefer> </prefer>
</alias> </alias>
<alias binding="strong">
<family>serif</family>
<prefer>
<family>Clear Sans</family>
</prefer>
</alias>
<alias binding="strong">
<family>sans-serif</family>
<prefer>
<family>Clear Sans</family>
</prefer>
</alias>
</fontconfig> </fontconfig>