Update fontconfig: replace fonts for familylang cn

This commit is contained in:
rydesun 2020-10-12 13:38:52 +08:00
parent 6ee4143307
commit 158df700ca

View file

@ -227,6 +227,15 @@
<string>Noto Sans CJK SC</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>微软雅黑</string>
</test>
<edit name="family" binding="strong">
<string>Noto Sans</string>
<string>Noto Sans CJK SC</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>SimHei</string>
@ -236,6 +245,15 @@
<string>Noto Sans CJK SC</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>黑体</string>
</test>
<edit name="family" binding="strong">
<string>Noto Sans</string>
<string>Noto Sans CJK SC</string>
</edit>
</match>
<!-- Replace serif fonts -->
<match target="pattern">
@ -255,6 +273,15 @@
<string>Noto Serif CJK SC</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>宋体</string>
</test>
<edit name="family" binding="strong">
<string>Noto Serif</string>
<string>Noto Serif CJK SC</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>FangSong</string>
@ -264,6 +291,15 @@
<string>Noto Serif CJK SC</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>仿宋</string>
</test>
<edit name="family" binding="strong">
<string>Noto Serif</string>
<string>Noto Serif CJK SC</string>
</edit>
</match>
<!-- Replace monospace fonts -->
<match target="pattern">
@ -298,6 +334,17 @@
<string>Noto Serif CJK SC</string>
</edit>
</match>
<match target="pattern">
<test name="family">
<string>楷体</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Serif</string>
</edit>
<edit name="family" mode="append" binding="strong">
<string>Noto Serif CJK SC</string>
</edit>
</match>
<!-- Replace latin characters in CJK fonts -->
<match target="pattern">