summaryrefslogtreecommitdiffstats
path: root/system/otf2bdf
diff options
context:
space:
mode:
Diffstat (limited to 'system/otf2bdf')
-rw-r--r--system/otf2bdf/README13
-rw-r--r--system/otf2bdf/otf2bdf.SlackBuild12
-rw-r--r--system/otf2bdf/otf2bdf.info4
3 files changed, 12 insertions, 17 deletions
diff --git a/system/otf2bdf/README b/system/otf2bdf/README
index c7c2b07912..1049682789 100644
--- a/system/otf2bdf/README
+++ b/system/otf2bdf/README
@@ -1,11 +1,12 @@
otf2bdf (opentype/truetype to bdf font converter)
-otf2bdf is a command line utility that uses the FreeType 2 font rendering
-library to generate BDF bitmap fonts from OpenType/TrueType outline fonts
-at different sizes and resolutions. This program is essentially the same
-as the ttf2bdf program except that it uses FreeType 2.*, not FreeType
-1.*, has some bug fixes, and includes a new command line parameter to
-print out the available encoding tables in the font.
+otf2bdf is a command line utility that uses the FreeType 2 font
+rendering library to generate BDF bitmap fonts from OpenType/TrueType
+outline fonts at different sizes and resolutions. This program
+is essentially the same as the ttf2bdf program except that it uses
+FreeType 2.*, not FreeType 1.*, has some bug fixes, and includes a new
+command line parameter to print out the available encoding tables in
+the font.
For best results, the original font should be monospaced.
diff --git a/system/otf2bdf/otf2bdf.SlackBuild b/system/otf2bdf/otf2bdf.SlackBuild
index 857d9c3867..f978f7be98 100644
--- a/system/otf2bdf/otf2bdf.SlackBuild
+++ b/system/otf2bdf/otf2bdf.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for otf2bdf
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,11 +54,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tbz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/system/otf2bdf/otf2bdf.info b/system/otf2bdf/otf2bdf.info
index eecb7c1950..9de66b1b67 100644
--- a/system/otf2bdf/otf2bdf.info
+++ b/system/otf2bdf/otf2bdf.info
@@ -1,10 +1,10 @@
PRGNAM="otf2bdf"
VERSION="3.1"
-HOMEPAGE="http://web.archive.org/web/20171026195930/https://www.math.nmsu.edu/~mleisher/Software/otf2bdf/"
+HOMEPAGE="https://web.archive.org/web/20171026195930/https://www.math.nmsu.edu/~mleisher/Software/otf2bdf/"
DOWNLOAD="https://slackware.uk/~urchlay/src/otf2bdf-3.1.tbz2"
MD5SUM="6af09173615f1dd5ae294bbf67ac52c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"