summaryrefslogtreecommitdiff
path: root/65-0-khmer-os-muol-fonts.conf
diff options
context:
space:
mode:
Diffstat (limited to '65-0-khmer-os-muol-fonts.conf')
-rw-r--r--65-0-khmer-os-muol-fonts.conf60
1 files changed, 60 insertions, 0 deletions
diff --git a/65-0-khmer-os-muol-fonts.conf b/65-0-khmer-os-muol-fonts.conf
new file mode 100644
index 0000000..74fb250
--- /dev/null
+++ b/65-0-khmer-os-muol-fonts.conf
@@ -0,0 +1,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>