changeset 82:220ca3e2e115

Add emoji config to standard build (requires Noto Color Emoji font)
author IBBoard <dev@ibboard.co.uk>
date Thu, 15 Mar 2018 20:59:22 +0000
parents a05dade2a2fa
children 966d8f8f89d0
files 10-noto-emoji.conf setup.sh
diffstat 2 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/10-noto-emoji.conf	Thu Mar 15 20:59:22 2018 +0000
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+  <alias>
+    <family>sans-serif</family>
+    <prefer>
+      <family>Noto Color Emoji</family>
+      <family>Noto Sans</family>
+    </prefer>
+  </alias>
+  <alias>
+    <family>serif</family>
+    <prefer>
+      <family>Noto Color Emoji</family>
+      <family>Noto Serif</family>
+    </prefer>
+  </alias>
+  <alias>
+    <family>monospace</family>
+    <prefer>
+      <family>Noto Color Emoji</family>
+      <family>Noto Mono</family>
+    </prefer>
+  </alias>
+  <match>
+    <test name="family" compare="contains">
+      <string>emoji</string>
+    </test>
+    <edit name="family" mode="prepend" binding="same">
+      <string>Noto Color Emoji</string>
+    </edit>
+  </match>
+</fontconfig>
\ No newline at end of file
--- a/setup.sh	Thu Mar 15 20:39:27 2018 +0000
+++ b/setup.sh	Thu Mar 15 20:59:22 2018 +0000
@@ -36,6 +36,7 @@
 create_symlink dircolors ~/.dir_colors
 create_symlink nanorc ~/.nanorc
 create_symlink XCompose ~/.XCompose
+create_symlink 10-noto-emoji.conf ~/.config/fontconfig/conf.d/10-noto-emoji.conf
 create_symlink mime-extra.xml ~/.local/share/mime/packages/IBBoard-extra.xml
 update-mime-database ~/.local/share/mime/
 mkdir -p ~/.ssh