google-noto-fonts/66-google-noto-sans-simplified-chinese.conf
Jens Petersen 6e65d47d1f generate font appinfo metainfo; for-loop to install .conf and .xml files
- move cjk fonts fontconfig priority from 65-0 to 66
2014-11-30 22:43:08 +10:00

106 lines
2.6 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<test name="lang">
<string>zh-cn</string>
</test>
<test name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans SC</string>
<string>Noto Sans TC</string>
</edit>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Sans Mono</string>
</edit>
</match>
<match>
<test name="lang">
<string>zh-sg</string>
</test>
<test name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans SC</string>
<string>Noto Sans TC</string>
</edit>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Sans Mono</string>
</edit>
</match>
<alias>
<family>Noto Sans SC</family>
<default>
<family>monospace</family>
</default>
</alias>
<match>
<test name="lang">
<string>zh-cn</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans SC</string>
<string>Noto Sans TC</string>
</edit>
</match>
<match>
<test name="lang">
<string>zh-sg</string>
</test>
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans SC</string>
<string>Noto Sans TC</string>
</edit>
</match>
<alias>
<family>Noto Sans SC</family>
<default>
<family>serif</family>
</default>
</alias>
<match>
<test name="lang">
<string>zh-cn</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans SC</string>
<string>Noto Sans TC</string>
</edit>
</match>
<match>
<test name="lang">
<string>zh-sg</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>Noto Sans SC</string>
<string>Noto Sans TC</string>
</edit>
</match>
<alias>
<family>Noto Sans SC</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>