cfg/.config/fontconfig/fonts.conf
Knut Ahlers b7279070d8
Adjust font config for changes in NerdFonts 3.x
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-05-07 12:55:25 +02: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>DejaVuSansM 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>