125 lines
3.3 KiB
XML
125 lines
3.3 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
<fontconfig>
|
|
<description>Properly match Noto CJK font languages</description>
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>ja</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>sans-serif</string>
|
|
</test>
|
|
<edit name="family" mode="prepend">
|
|
<string>Noto Sans CJK JP</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>ko</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>sans-serif</string>
|
|
</test>
|
|
<edit name="family" mode="prepend">
|
|
<string>Noto Sans CJK KR</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>zh-cn</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>sans-serif</string>
|
|
</test>
|
|
<edit name="family" mode="prepend" binding="strong">
|
|
<string>Noto Sans CJK SC</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>zh-tw</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>sans-serif</string>
|
|
</test>
|
|
<edit name="family" mode="prepend" binding="strong">
|
|
<string>Noto Sans CJK TC</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>zh-hk</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>sans-serif</string>
|
|
</test>
|
|
<edit name="family" mode="prepend" binding="strong">
|
|
<string>Noto Sans CJK HK</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>ja</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit name="family" mode="prepend">
|
|
<string>Noto Sans Mono CJK JP</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>ko</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit name="family" mode="prepend">
|
|
<string>Noto Sans Mono CJK KR</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>zh-cn</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit name="family" mode="prepend" binding="strong">
|
|
<string>Noto Sans Mono CJK SC</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>zh-tw</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit name="family" mode="prepend" binding="strong">
|
|
<string>Noto Sans Mono CJK TC</string>
|
|
</edit>
|
|
</match>
|
|
|
|
<match target="pattern">
|
|
<test name="lang">
|
|
<string>zh-hk</string>
|
|
</test>
|
|
<test name="family">
|
|
<string>monospace</string>
|
|
</test>
|
|
<edit name="family" mode="prepend" binding="strong">
|
|
<string>Noto Sans Mono CJK HK</string>
|
|
</edit>
|
|
</match>
|
|
</fontconfig>
|