summaryrefslogtreecommitdiffstats
path: root/system/symbola-font-ttf
diff options
context:
space:
mode:
Diffstat (limited to 'system/symbola-font-ttf')
-rw-r--r--system/symbola-font-ttf/README3
-rw-r--r--system/symbola-font-ttf/symbola-font-ttf.SlackBuild21
-rw-r--r--system/symbola-font-ttf/symbola-font-ttf.info10
3 files changed, 22 insertions, 12 deletions
diff --git a/system/symbola-font-ttf/README b/system/symbola-font-ttf/README
index 9744e70cd7..843bcd8bbe 100644
--- a/system/symbola-font-ttf/README
+++ b/system/symbola-font-ttf/README
@@ -1,6 +1,7 @@
Symbola is a otf font, which contains many scripts, special symbols,
and emoji characters supported by The Unicode Standard.
-Symbola is free strictly for personal, non-commercial use.
+Symbola up to and including version 14.00 is free strictly for personal,
+non-commercial use.
This script also creates the ttf font file using the FontForge.
diff --git a/system/symbola-font-ttf/symbola-font-ttf.SlackBuild b/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
index 0c3420e93e..8b30d591ef 100644
--- a/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
+++ b/system/symbola-font-ttf/symbola-font-ttf.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for symbola-font-ttf
-# Copyright 2016-2020 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2016-2023 Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +22,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=symbola-font-ttf
-VERSION=${VERSION:-13.00}
+VERSION=${VERSION:-14.00}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -42,7 +49,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip $CWD/Symbola.zip
+pdfdetach -saveall $CWD/Symbola.pdf
+qpdf --remove-attachment="Untitled Object" \
+ --remove-attachment="Untitled Object 2" $CWD/Symbola.pdf Symbola.pdf
fontforge -lang=ff -c 'Open("Symbola.otf");Generate("Symbola.ttf");Close();'
@@ -60,4 +69,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/symbola-font-ttf/symbola-font-ttf.info b/system/symbola-font-ttf/symbola-font-ttf.info
index c2a8c85655..7605f7470e 100644
--- a/system/symbola-font-ttf/symbola-font-ttf.info
+++ b/system/symbola-font-ttf/symbola-font-ttf.info
@@ -1,10 +1,10 @@
PRGNAM="symbola-font-ttf"
-VERSION="13.00"
+VERSION="14.00"
HOMEPAGE="https://dn-works.com/ufas/"
-DOWNLOAD="https://dn-works.com/wp-content/uploads/2020/UFAS-Fonts/Symbola.zip \
- https://dn-works.com/wp-content/uploads/2020/UFAS-Docs/License.pdf"
-MD5SUM="a14dda162bd1cb407059f62d77fcc5ea \
- bb6edb616a86a98826cd269486b095b5"
+DOWNLOAD="https://dn-works.com/wp-content/uploads/2021/UFAS121921/Symbola.pdf \
+ https://dn-works.com/wp-content/uploads/2021/UFAS121921/License.pdf"
+MD5SUM="deef28dd48f791021195d95a594e7f0c \
+ 8da585bd4ec90b22d6cf21a778e976c3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fontforge"