2024-01-05 23:56:47 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
|
|
|
<fontconfig>
|
|
|
|
<!-- Generic names -->
|
|
|
|
<alias>
|
|
|
|
<family>IPAGothic</family>
|
|
|
|
<default>
|
|
|
|
<family>monospace</family>
|
|
|
|
</default>
|
|
|
|
</alias>
|
|
|
|
<!-- NOTE: just for fallback - ideally better installing ipa-pgothic-fonts -->
|
|
|
|
<alias>
|
|
|
|
<family>IPAGothic</family>
|
|
|
|
<default>
|
|
|
|
<family>sans-serif</family>
|
|
|
|
</default>
|
|
|
|
</alias>
|
|
|
|
|
|
|
|
<!-- Locale-specific overrides -->
|
|
|
|
<match>
|
2024-01-05 23:56:47 +01:00
|
|
|
<test name="lang" compare="contains">
|
2024-01-05 23:56:47 +01:00
|
|
|
<string>ja</string>
|
|
|
|
</test>
|
|
|
|
<test name="family">
|
|
|
|
<string>monospace</string>
|
|
|
|
</test>
|
|
|
|
<edit name="family" mode="prepend">
|
|
|
|
<string>IPAGothic</string>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
<!-- NOTE: just for fallback - ideally better installing ipa-pgothic-fonts -->
|
|
|
|
<match>
|
2024-01-05 23:56:47 +01:00
|
|
|
<test name="lang" compare="contains">
|
2024-01-05 23:56:47 +01:00
|
|
|
<string>ja</string>
|
|
|
|
</test>
|
|
|
|
<test name="family">
|
|
|
|
<string>sans-serif</string>
|
|
|
|
</test>
|
|
|
|
<edit name="family" mode="prepend">
|
|
|
|
<string>IPAGothic</string>
|
|
|
|
</edit>
|
|
|
|
</match>
|
2024-01-05 23:56:47 +01:00
|
|
|
<!-- enable hinting -->
|
2024-01-05 23:56:47 +01:00
|
|
|
<match target="font">
|
|
|
|
<test name="family">
|
|
|
|
<string>IPAGothic</string>
|
|
|
|
</test>
|
|
|
|
<edit name="hinting" mode="assign">
|
2024-01-05 23:56:47 +01:00
|
|
|
<bool>true</bool>
|
|
|
|
</edit>
|
|
|
|
<edit name="autohint" mode="assign">
|
2024-01-05 23:56:47 +01:00
|
|
|
<bool>false</bool>
|
|
|
|
</edit>
|
|
|
|
</match>
|
|
|
|
</fontconfig>
|
|
|
|
|