mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:37:13 +08:00
32 lines
893 B
XML
32 lines
893 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
|
<fontconfig>
|
|
<!--
|
|
- Medium variant is used instead of Regular on Qt apps:
|
|
https://bugs.launchpad.net/ubuntu-font-family/+bug/744812
|
|
- Medium and Bold looks the same in certain applications:
|
|
https://bugs.launchpad.net/ubuntu/+source/gnome-specimen/+bug/813373
|
|
-->
|
|
|
|
<match target="scan">
|
|
<test name="fullname" compare="eq">
|
|
<string>Source Han Sans SC Medium</string>
|
|
</test>
|
|
<edit name="weight" mode="assign">
|
|
<const>demibold</const>
|
|
</edit>
|
|
</match>
|
|
|
|
<match>
|
|
<test name="lang" compare="contains">
|
|
<string>zh-cn</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>sans-serif</string>
|
|
</test>
|
|
<edit name="family" mode="prepend">
|
|
<string>Source Han Sans SC</string>
|
|
</edit>
|
|
</match>
|
|
</fontconfig>
|