Blob Blame History Raw
<?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>