Add font config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
25459301b7
commit
f70bee696a
1 changed files with 35 additions and 0 deletions
35
.config/fontconfig/fonts.conf
Normal file
35
.config/fontconfig/fonts.conf
Normal 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>
|
||||
|
Loading…
Reference in a new issue