diff options
author | B. Watson <yalhcru@gmail.com> | 2021-08-22 17:29:51 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:51:34 +0700 |
commit | 93f6e218a8c9467050be0580b5ac80d2c0277a10 (patch) | |
tree | f4a9f52b2cf50ecb4b0491423fb9e33affb58118 /system/otf2bdf | |
parent | e2ce4356c0549308da1c5903fe0f2c113d07e271 (diff) |
system/otf2bdf: Reflow README.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/otf2bdf')
-rw-r--r-- | system/otf2bdf/README | 13 | ||||
-rw-r--r-- | system/otf2bdf/otf2bdf.SlackBuild | 10 | ||||
-rw-r--r-- | system/otf2bdf/otf2bdf.info | 2 |
3 files changed, 10 insertions, 15 deletions
diff --git a/system/otf2bdf/README b/system/otf2bdf/README index c7c2b07912f2b..1049682789101 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 857d9c38673ca..26a76cf5e36a0 100644 --- a/system/otf2bdf/otf2bdf.SlackBuild +++ b/system/otf2bdf/otf2bdf.SlackBuild @@ -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 eecb7c1950d54..06eadc2eb2895 100644 --- a/system/otf2bdf/otf2bdf.info +++ b/system/otf2bdf/otf2bdf.info @@ -1,6 +1,6 @@ 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="" |