summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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."
# -------------------------------------------------------------------------- #