<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <alias>
        <family>IPAMincho</family>
        <default>
            <family>serif</family>
        </default>
    </alias>
    <alias>
        <family>IPAPMincho</family>
        <default>
            <family>serif</family>
        </default>
    </alias>
    <match target="pattern">
        <test name="lang" compare="contains">
            <string>ja</string>
        </test>
         <test qual="any" name="family">
            <string>serif</string>
        </test>
        <edit name="family" mode="prepend">
            <string>IPA P明朝</string>
        </edit>
    </match>
    <match target="pattern">
        <test qual="any" name="family">
            <string>Ryumin</string>
        </test>
        <edit name="family" mode="prepend">
            <string>IPA P明朝</string>
        </edit>
    </match>
    <match target="font">
        <test name="family" compare="contains">
            <string>IPA P明朝</string>
        </test>
        <test name="pixelsize" compare="less_eq">
            <double>18</double>
        </test>
        <edit name="hintstyle" mode="assign">
            <const>hintnone</const>
        </edit>
        <edit name="embeddedbitmap">
             <bool>false</bool>
        </edit>
    </match>
    <match target="font">
        <test name="family" compare="contains">
            <string>IPA明朝</string>
        </test>
        <test name="pixelsize" compare="less_eq">
            <double>18</double>
        </test>
        <edit name="hintstyle" mode="assign">
            <const>hintnone</const>
        </edit>
        <edit name="embeddedbitmap">
             <bool>false</bool>
        </edit>
    </match>
</fontconfig>
