85 lines
2.0 KiB
XML
85 lines
2.0 KiB
XML
<?xml version='1.0'?>
|
|
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
|
<fontconfig>
|
|
<match target="font">
|
|
<test compare="contains" name="family">
|
|
<string>Song</string>
|
|
</test>
|
|
<!-- check to see if the font is just regular -->
|
|
<test compare="less_eq" name="weight">
|
|
<int>100</int>
|
|
</test>
|
|
<test compare="more_eq" name="weight" target="pattern">
|
|
<int>180</int>
|
|
</test>
|
|
<edit mode="assign" name="embolden">
|
|
<bool>true</bool>
|
|
</edit>
|
|
</match>
|
|
<match target="font">
|
|
<test compare="contains" name="family">
|
|
<string>Sun</string>
|
|
</test>
|
|
<!-- check to see if the font is just regular -->
|
|
<test compare="less_eq" name="weight">
|
|
<int>100</int>
|
|
</test>
|
|
<test compare="more_eq" name="weight" target="pattern">
|
|
<int>180</int>
|
|
</test>
|
|
<edit mode="assign" name="embolden">
|
|
<bool>true</bool>
|
|
</edit>
|
|
</match>
|
|
<match target="font">
|
|
<test compare="contains" name="family">
|
|
<string>Kai</string>
|
|
</test>
|
|
<!-- check to see if the font is just regular -->
|
|
<test compare="less_eq" name="weight">
|
|
<int>100</int>
|
|
</test>
|
|
<test compare="more_eq" name="weight" target="pattern">
|
|
<int>180</int>
|
|
</test>
|
|
<edit mode="assign" name="embolden">
|
|
<bool>true</bool>
|
|
</edit>
|
|
</match>
|
|
<match target="font">
|
|
<test compare="contains" name="family">
|
|
<string>Ming</string>
|
|
</test>
|
|
<!-- check to see if the font is just regular -->
|
|
<test compare="less_eq" name="weight">
|
|
<int>100</int>
|
|
</test>
|
|
<test compare="more_eq" name="weight" target="pattern">
|
|
<int>180</int>
|
|
</test>
|
|
<edit mode="assign" name="embolden">
|
|
<bool>true</bool>
|
|
</edit>
|
|
</match>
|
|
<match target="font">
|
|
<edit mode="assign" name="hinting">
|
|
<bool>true</bool>
|
|
</edit>
|
|
</match>
|
|
<match target="font">
|
|
<edit mode="assign" name="hintstyle">
|
|
<const>hintfull</const>
|
|
</edit>
|
|
</match>
|
|
<match target="font">
|
|
<edit mode="assign" name="rgba">
|
|
<const>rgb</const>
|
|
</edit>
|
|
</match>
|
|
<match target="font">
|
|
<edit mode="assign" name="antialias">
|
|
<bool>true</bool>
|
|
</edit>
|
|
</match>
|
|
</fontconfig>
|