Add font config

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-01-08 17:40:36 +01:00
parent 25459301b7
commit f70bee696a
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -0,0 +1,35 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Use Google Emojis -->
<match target="pattern">
<test qual="any" name="family"><string>Segoe UI Emoji</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Helvetica</string></test>
<edit name="family" mode="assign" binding="same"><string>Open Sans</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>monospace</string></test>
<edit name="family" mode="assign" binding="same"><string>DejaVuSansMono Nerd Font Mono</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>sans-serif</string></test>
<edit name="family" mode="assign" binding="same"><string>Open Sans</string></edit>
</match>
<selectfont>
<rejectfont>
<pattern>
<patelt name="family"><string>Tahoma</string></patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>