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
1 changed files with 11 additions and 2 deletions

View File

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