133 lines
2.9 KiB
XML
133 lines
2.9 KiB
XML
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
|
<fontconfig>
|
|
<match target="font">
|
|
<edit mode="assign" name="antialias">
|
|
<bool>true</bool>
|
|
</edit>
|
|
<edit mode="assign" name="hinting">
|
|
<bool>true</bool>
|
|
</edit>
|
|
<edit mode="assign" name="hintstyle">
|
|
<const>hintfull</const>
|
|
</edit>
|
|
<edit mode="assign" name="lcdfilter">
|
|
<const>lcddefault</const>
|
|
</edit>
|
|
<edit mode="assign" name="rgba">
|
|
<const>rgb</const>
|
|
</edit>
|
|
</match>
|
|
<match>
|
|
<test name="family">
|
|
<string>sans-serif</string>
|
|
</test>
|
|
<edit mode="prepend" binding="weak" name="family">
|
|
<string>Emoji</string>
|
|
</edit>
|
|
</match>
|
|
<match>
|
|
<test name="family">
|
|
<string>serif</string>
|
|
</test>
|
|
<edit mode="prepend" binding="weak" name="family">
|
|
<string>Emoji</string>
|
|
</edit>
|
|
</match>
|
|
<match>
|
|
<test name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit mode="prepend" binding="weak" name="family">
|
|
<string>Emoji</string>
|
|
</edit>
|
|
</match>
|
|
<match>
|
|
<test name="family">
|
|
<string>Apple Color Emoji</string>
|
|
</test>
|
|
<edit mode="prepend" binding="weak" name="family">
|
|
<string>Emoji</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test name="family">
|
|
<string>Helvetica</string>
|
|
</test>
|
|
<edit mode="assign" name="family">
|
|
<string>DejaVu Sans</string>
|
|
</edit>
|
|
</match>
|
|
<match>
|
|
<test name="family">
|
|
<string>Source Code Pro</string>
|
|
</test>
|
|
<edit mode="prepend" binding="weak" name="family">
|
|
<string>Source Han Code JP</string>
|
|
</edit>
|
|
</match>
|
|
<match>
|
|
<test name="family">
|
|
<string>Source Code Pro</string>
|
|
</test>
|
|
<edit mode="prepend" binding="weak" name="family">
|
|
<string>Emoji</string>
|
|
</edit>
|
|
</match>
|
|
<match>
|
|
<test name="family">
|
|
<string>Source Code Pro</string>
|
|
</test>
|
|
<edit mode="append" binding="weak" name="family">
|
|
<string>FiraCode Nerd Font</string>
|
|
</edit>
|
|
</match>
|
|
<match>
|
|
<test name="family">
|
|
<string>Source Han Code JP</string>
|
|
</test>
|
|
<edit mode="append" binding="weak" name="family">
|
|
<string>FiraCode Nerd Font</string>
|
|
</edit>
|
|
</match>
|
|
<match target="pattern">
|
|
<test qual="any" name="family">
|
|
<string>Courier New</string>
|
|
</test>
|
|
<edit mode="assign" binding="same" name="family">
|
|
<string>Source Han Code JP</string>
|
|
</edit>
|
|
</match>
|
|
<alias>
|
|
<family>Source Han Sans</family>
|
|
<prefer>
|
|
<family>Source Han Sans JP</family>
|
|
</prefer>
|
|
</alias>
|
|
<alias>
|
|
<family>Source Han Serif</family>
|
|
<prefer>
|
|
<family>Source Han Serif JP</family>
|
|
</prefer>
|
|
</alias>
|
|
<dir>~/.fonts</dir>
|
|
<!-- Fallback fonts preference order -->
|
|
<alias>
|
|
<family>sans-serif</family>
|
|
<prefer>
|
|
<family>Source Han Sans JP</family>
|
|
</prefer>
|
|
</alias>
|
|
<alias>
|
|
<family>serif</family>
|
|
<prefer>
|
|
<family>Source Han Serif JP</family>
|
|
</prefer>
|
|
</alias>
|
|
<alias>
|
|
<family>monospace</family>
|
|
<prefer>
|
|
<family>Source Han Code JP</family>
|
|
</prefer>
|
|
</alias>
|
|
</fontconfig>
|