summaryrefslogtreecommitdiff
path: root/65-0-khmer-os-muol-fonts.conf
blob: 74fb250088eb62a7c9b664952506d6575aac90d3 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
  <!-- Generic names -->
  <alias>
    <family>Khmer OS Muol</family>
    <default>
      <family>monospace</family>
    </default>
  </alias>
  <alias>
    <family>Khmer OS Muol Light</family>
    <default>
      <family>monospace</family>
    </default>
  </alias>
  <!-- Locale-specific overrides -->
  <match>
    <test name="lang" compare="contains">
      <string>km</string>
    </test>
    <test name="family">
      <string>monospace</string>
    </test>
    <edit name="family" mode="prepend">
      <string>Khmer OS Muol</string>
    </edit>
  </match>
  <match>
    <test name="lang" compare="contains">
      <string>km</string>
    </test>
    <test name="family">
      <string>monospace</string>
    </test>
    <edit name="family" mode="prepend">
      <string>Khmer OS Muol Light</string>
    </edit>
  </match>
  <match target="scan">
    <test name="fullname">
      <string>Khmer OS Muol Light</string>
    </test>
    <test name="family">
      <string>Khmer OS Muol Light</string>
    </test>
    <test name="style">
      <string>Regular</string>
    </test>
    <edit name="family" mode="prepend">
      <string>Khmer OS Muol </string>
    </edit>
    <edit name="style" mode="prepend">
      <string>Light</string>
    </edit>
    <edit name="weight">
      <int>50</int>
    </edit>
  </match>
</fontconfig>