ipa-gothic-fonts/ipa-pgothic-fonts-fontconfig.conf

39 lines
779 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- Generic names -->
<alias>
<family>IPAPGothic</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- Locale-specific overrides -->
<match>
<test name="lang" compare="contains">
<string>ja</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend">
<string>IPAPGothic</string>
</edit>
</match>
<!-- enable autohinting -->
<match target="font">
<test name="family">
<string>IPAPGothic</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>