fonts: use Fira Code as monospace, and Twemoji as emoji

This commit is contained in:
Peter Cai 2021-02-01 20:37:29 +08:00
parent 0298d6c39e
commit 51ce441c5f

View file

@ -25,7 +25,7 @@
</edit> </edit>
</match> </match>
<!-- 英文默认字体使用 Roboto 和 Noto Serif ,终端使用 DejaVu Sans Mono. --> <!-- 英文默认字体使用 Roboto 和 Noto Serif, 终端使用 Fira Code, Emoji 默认使用 Twemoji -->
<match> <match>
<test qual="any" name="family"> <test qual="any" name="family">
<string>serif</string> <string>serif</string>
@ -33,6 +33,9 @@
<edit name="family" mode="prepend" binding="strong"> <edit name="family" mode="prepend" binding="strong">
<string>Noto Serif</string> <string>Noto Serif</string>
</edit> </edit>
<edit name="family" mode="append" binding="strong">
<string>Twemoji</string>
</edit>
</match> </match>
<match target="pattern"> <match target="pattern">
<test qual="any" name="family"> <test qual="any" name="family">
@ -41,13 +44,19 @@
<edit name="family" mode="prepend" binding="strong"> <edit name="family" mode="prepend" binding="strong">
<string>Roboto</string> <string>Roboto</string>
</edit> </edit>
<edit name="family" mode="append" binding="strong">
<string>Twemoji</string>
</edit>
</match> </match>
<match target="pattern"> <match target="pattern">
<test qual="any" name="family"> <test qual="any" name="family">
<string>monospace</string> <string>monospace</string>
</test> </test>
<edit name="family" mode="prepend" binding="strong"> <edit name="family" mode="prepend" binding="strong">
<string>DejaVu Sans Mono</string> <string>Fira Code</string>
</edit>
<edit name="family" mode="append" binding="strong">
<string>Twemoji</string>
</edit> </edit>
</match> </match>