aboutsummaryrefslogtreecommitdiff
path: root/install-bdf.sh
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-25 16:48:42 -0400
committerB. Watson <urchlay@slackware.uk>2024-07-25 16:48:42 -0400
commit0c7ad993f7f8cffcc3972a6f8e5517fd841051b5 (patch)
tree077d2c932c8239d30c2a30bccf4f538ecde9d712 /install-bdf.sh
parent5be52a355d63b93e1a9662ded6a1a5f682665699 (diff)
downloadbw-atari8-tools-0c7ad993f7f8cffcc3972a6f8e5517fd841051b5.tar.gz
fonts: much progress.
Diffstat (limited to 'install-bdf.sh')
-rw-r--r--install-bdf.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/install-bdf.sh b/install-bdf.sh
deleted file mode 100644
index 1853373..0000000
--- a/install-bdf.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-BDFDIR="$1"
-if [ "$BDFDIR" = "" ]; then
- echo "usage: $0 <dir>"
- exit 1
-fi
-
-install_font() {
- BDF=fauxtari-$1.bdf
- ALIAS=fauxtari-$1
- cp "fonts/$BDF" "$BDFDIR"
- ( cd "$BDFDIR"
- mkfontdir
- mkfontscale
- if ! grep "^$ALIAS" fonts.alias &> /dev/null; then
- NAME="$( grep "^$BDF" fonts.dir | cut -d' ' -f2- )"
- echo "$ALIAS \"$NAME\"" >> fonts.alias
- fi
- )
-}
-
-mkdir -p "$BDFDIR" || exit 1
-install_font 8
-install_font 16
-install_font 24
-
-if [ "$DISPLAY" != "" ]; then
- xset -fp "$BDFDIR" &>/dev/null
- xset +fp "$BDFDIR" &>/dev/null
- xset fp rehash &>/dev/null
- fc-cache "$BDFDIR" &>/dev/null
-fi