summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2017-08-01 10:50:55 +0100
committerBehdad Esfahbod <behdad@behdad.org>2017-08-02 15:18:53 +0100
commit1bb8e691bd535859b1795db2554a8b1efb1d0372 (patch)
tree717f868873ef87141a5cb17dfef8d690c5d64bb5 /conf.d
parent2073477e051e66afa6ce5c447b6ebc75dbe32636 (diff)
downloadfontconfig-1bb8e691bd535859b1795db2554a8b1efb1d0372.tar.gz
Add und-zsye.orth to support emoji in lang
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/45-generic.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/conf.d/45-generic.conf b/conf.d/45-generic.conf
index c515d7a..f7497b9 100644
--- a/conf.d/45-generic.conf
+++ b/conf.d/45-generic.conf
@@ -72,4 +72,39 @@
<default><family>math</family></default>
</alias>
+
+ <!-- add a lang for emoji if requesting emoji family -->
+ <match>
+ <test name="family">
+ <string>emoji</string>
+ </test>
+ <edit name="lang" mode="prepend">
+ <string>und-zsye</string>
+ </edit>
+ </match>
+ <!-- add a lang for math if requesting math family -->
+ <match>
+ <test name="family">
+ <string>math</string>
+ </test>
+ <edit name="lang" mode="prepend">
+ <string>und-zmth</string>
+ </edit>
+ </match>
+ <!-- prefer to use the color emoji font if none is specified -->
+ <match>
+ <test name="lang">
+ <string>und-zsye</string>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>true</bool>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>false</bool>
+ </test>
+ <edit name="color" mode="append">
+ <bool>true</bool>
+ </edit>
+ </match>
+
</fontconfig>