diff options
Diffstat (limited to 'fonts.conf.d/Linux/51-noto-color-emoji.conf')
-rw-r--r-- | fonts.conf.d/Linux/51-noto-color-emoji.conf | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/fonts.conf.d/Linux/51-noto-color-emoji.conf b/fonts.conf.d/Linux/51-noto-color-emoji.conf new file mode 100644 index 0000000..ae367b7 --- /dev/null +++ b/fonts.conf.d/Linux/51-noto-color-emoji.conf | |||
@@ -0,0 +1,49 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | ||
3 | <!-- /etc/fonts/conf.avail/51-noto-color-emoji.conf --> | ||
4 | <fontconfig> | ||
5 | <selectfont> | ||
6 | <acceptfont> | ||
7 | <pattern> | ||
8 | <patelt name="family"><string>Noto Color Emoji</string></patelt> | ||
9 | </pattern> | ||
10 | </acceptfont> | ||
11 | </selectfont> | ||
12 | |||
13 | <match target="font"> | ||
14 | <test name="family"> | ||
15 | <string>Noto Color Emoji</string> | ||
16 | </test> | ||
17 | <edit name="scalable" mode="assign"><bool>true</bool></edit> | ||
18 | <edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit> | ||
19 | <edit name="hinting" mode="assign"><bool>true</bool></edit> | ||
20 | <edit name="hintstyle" mode="assign"><const>hintfull</const></edit> | ||
21 | </match> | ||
22 | |||
23 | <!-- Experimental --> | ||
24 | <!-- | ||
25 | <alias binding="same"> | ||
26 | <family>Segoe UI Emoji</family> | ||
27 | <prefer> | ||
28 | <family>Noto Color Emoji</family> | ||
29 | </prefer> | ||
30 | </alias> --> | ||
31 | <match target="pattern"> | ||
32 | <test name="family" qual="first" compare="contains"> | ||
33 | <string>emoji</string> | ||
34 | </test> | ||
35 | <edit mode="assign" name="color"> | ||
36 | <bool>true</bool> | ||
37 | </edit> | ||
38 | <edit mode="assign" name="family"> | ||
39 | <string>Noto Color Emoji</string> | ||
40 | </edit> | ||
41 | </match> | ||
42 | |||
43 | <match target="pattern"> | ||
44 | <edit name="family" mode="prepend"> | ||
45 | <string>Noto Color Emoji</string> | ||
46 | </edit> | ||
47 | </match> | ||
48 | |||
49 | </fontconfig> | ||