<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Generic names rule -->
<alias>
<family>Source Han Code JP</family>
<default>
<family>monospace</family>
</default>
</alias>
<!-- Locale-specific overrides rule -->
<match>
<test name="lang" compare="contains">
<string>ja</string>
</test>
<test name="family" ignore-blanks="true">
<string>monospace</string>
</test>
<edit name="family" mode="prepend">
<string>Source Han Code JP</string>
</edit>
</match>
</fontconfig>