summarylogtreecommitdiffstats
path: root/44-source-han-mono-hk.conf
blob: 0fdcce5d8f59097e0bd8bae093e333cff1270fc9 (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 HC Medium</string>
        </test>
        <edit name="weight" mode="assign">
            <const>demibold</const>
        </edit>
    </match>
    
    <match>
        <test name="lang" compare="contains">
            <string>zh-hk</string>
        </test>
        <test name="family">
            <string>monospace</string>
        </test>
        <edit name="family" mode="prepend">
            <string>Source Han Mono HC</string>
        </edit>
    </match>
</fontconfig>