Update fontconfig: font order

This commit is contained in:
rydesun 2021-02-16 13:47:59 +08:00
parent 5f1d74cadc
commit b36be7fc37
5 changed files with 12 additions and 25 deletions

View file

@ -19,6 +19,7 @@
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Sans CJK SC</string>
<string>Noto Sans</string>
<string>Twemoji</string>
</edit>
</match>
@ -30,6 +31,7 @@
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Serif CJK SC</string>
<string>Noto Serif</string>
<string>Twemoji</string>
</edit>
</match>

View file

@ -3,11 +3,8 @@
<fontconfig>
<match target="pattern">
<test name="prgname" compare="not_eq">
<string>chrome</string>
</test>
<test name="prgname" compare="not_eq">
<string>steam</string>
<test name="lang" compare="contains">
<string>en</string>
</test>
<test name="family" compare="contains">
<string>Noto Sans CJK</string>
@ -18,11 +15,8 @@
</match>
<match target="pattern">
<test name="prgname" compare="not_eq">
<string>chrome</string>
</test>
<test name="prgname" compare="not_eq">
<string>steam</string>
<test name="lang" compare="contains">
<string>en</string>
</test>
<test name="family" compare="contains">
<string>Noto Serif CJK</string>

View file

@ -3,11 +3,8 @@
<fontconfig>
<match target="pattern">
<test name="prgname" compare="not_eq">
<string>chrome</string>
</test>
<test name="prgname" compare="not_eq">
<string>steam</string>
<test name="lang" compare="contains">
<string>en</string>
</test>
<test name="family" compare="contains">
<string>Sarasa Gothic</string>

View file

@ -3,11 +3,8 @@
<fontconfig>
<match target="pattern">
<test name="prgname" compare="not_eq">
<string>chrome</string>
</test>
<test name="prgname" compare="not_eq">
<string>steam</string>
<test name="lang" compare="contains">
<string>en</string>
</test>
<test name="family" compare="not_contains">
<string>HW</string>

View file

@ -3,11 +3,8 @@
<fontconfig>
<match target="pattern">
<test name="prgname" compare="not_eq">
<string>chrome</string>
</test>
<test name="prgname" compare="not_eq">
<string>steam</string>
<test name="lang" compare="contains">
<string>en</string>
</test>
<test name="family" compare="contains">
<string>Source Han Serif</string>