summarylogtreecommitdiffstats
path: root/44-source-han-mono-jp.conf
blob: cd2a2d57436f75b4c86b67d37518abb30e9d0bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>

    <match target="scan">
        <test name="fullname" compare="eq">
            <string>Source Han Mono Medium</string>
        </test>
        <edit name="weight" mode="assign">
            <const>demibold</const>
        </edit>
    </match>
    
    <match>
        <test name="lang" compare="contains">
            <string>jp</string>
        </test>
        <test name="family">
            <string>monospace</string>
        </test>
        <edit name="family" mode="prepend">
            <string>Source Han Mono</string>
        </edit>
    </match>
</fontconfig>