From ad88d1a39626c0849f38831445f26a48eaaff348 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 19 Feb 2022 09:04:21 -0300 Subject: Feat: adds fontconfig-bitmaps --- share/trashman/fontconfig-bitmaps/info | 1 + .../fontconfig-bitmaps/unix/linux/debian/install | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 share/trashman/fontconfig-bitmaps/info create mode 100755 share/trashman/fontconfig-bitmaps/unix/linux/debian/install (limited to 'share') 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 -- cgit v1.2.3