aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/trashman/fontconfig-bitmaps/info1
-rwxr-xr-xshare/trashman/fontconfig-bitmaps/unix/linux/debian/install17
2 files changed, 18 insertions, 0 deletions
diff --git a/share/trashman/fontconfig-bitmaps/info b/share/trashman/fontconfig-bitmaps/info
new file mode 100644
index 0000000..e10db2e
--- /dev/null
+++ b/share/trashman/fontconfig-bitmaps/info
@@ -0,0 +1 @@
+installs fontconfig with bitmaps font support
diff --git a/share/trashman/fontconfig-bitmaps/unix/linux/debian/install b/share/trashman/fontconfig-bitmaps/unix/linux/debian/install
new file mode 100755
index 0000000..7455950
--- /dev/null
+++ b/share/trashman/fontconfig-bitmaps/unix/linux/debian/install
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+#
+# Installs fontconfig.
+#
+
+# Parameters
+SHARE="$1"
+
+# Include basic functions
+. $SHARE/trashman/functions || exit 1
+. $SHARE/trashman/debian || exit 1
+
+# See https://git.fluxo.info/puppet-nodo/commit/?id=3922c9fbe71bbec6ecf80d8757b2243a9b5c411b
+trashman_apt_install fontconfig
+rm /etc/fonts/conf.d/70-no-bitmaps.conf
+ln -s -t /etc/fonts/conf.d /usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf
+dpkg-reconfigure fontconfig