cfg/.config/fontconfig/fonts.conf
Knut Ahlers f70bee696a
Add font config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-01-08 17:40:36 +01:00

35 lines
1.1 KiB
XML

<?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>