summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-06-13 01:03:05 +0200
committer Eric Hameleers <alien@slackware.com>2019-06-13 01:03:05 +0200
commitadfa3717bc2332f37eb203f6e3ef391bd3ba752b (patch)
treef9031a55469509f5b006694e62c2cd3de3ca5dbc
parent37fa8d30d59d42738137269cf243b907fe070d58 (diff)
downloadliveslak-adfa3717bc2332f37eb203f6e3ef391bd3ba752b.tar.gz
liveslak-adfa3717bc2332f37eb203f6e3ef391bd3ba752b.tar.xz
Make the EmojiOne TTF font universally available
-rwxr-xr-xmake_slackware_live.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 03911d0..64dd593 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1734,6 +1734,20 @@ sed -i "s/@LIBDIR@/lib${DIRSUFFIX}/g" ${LIVE_ROOTDIR}/etc/X11/xdm/liveslak-xdm/x
# missing modules:
echo "mode: blank" > ${LIVE_ROOTDIR}/home/${LIVEUID}/.xscreensaver
+# Make the EmojiOne TTF font universally available:
+mkdir -p ${LIVE_ROOTDIR}/etc/fonts
+cat << EOT > ${LIVE_ROOTDIR}/etc/fonts/local.conf
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- /etc/fonts/local.conf file to customize system font access -->
+<fontconfig>
+<!-- Contains the EmojiOne TTF font: -->
+<dir>/usr/lib${DIRSUFFIX}/firefox/fonts</dir>
+</fontconfig>
+EOT
+chroot ${LIVE_ROOTDIR} fc-cache -f
+
+
# -------------------------------------------------------------------------- #
echo "-- Configuring XFCE."
# -------------------------------------------------------------------------- #