summaryrefslogtreecommitdiff
path: root/source/x/noto-fonts-ttf/package-source.sh
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-10-01 05:38:04 +0000
committerEric Hameleers <alien@slackware.com>2021-10-01 17:59:54 +0200
commita7047f3dacec45c610fbdd8c1116e2cd1d519a23 (patch)
treeec1f086a8fb520051b4397ede70132ed6e50d5f0 /source/x/noto-fonts-ttf/package-source.sh
parent309827930218efdeb97c2c1da3a6021539314bca (diff)
downloadcurrent-a7047f3dacec45c610fbdd8c1116e2cd1d519a23.tar.gz
Fri Oct 1 05:38:04 UTC 202120211001053804
x/liberation-fonts-ttf-2.1.5-noarch-1.txz: Upgraded. x/libva-utils-2.13.0-x86_64-1.txz: Upgraded. x/noto-fonts-ttf-20171024-noarch-4.txz: Rebuilt. Package NotoSansCoptic-Regular.ttf and a few other unhinted fonts. Thanks to Roman Dyaba. xfce/Greybird-3.22.15-noarch-1.txz: Upgraded.
Diffstat (limited to 'source/x/noto-fonts-ttf/package-source.sh')
-rwxr-xr-xsource/x/noto-fonts-ttf/package-source.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/x/noto-fonts-ttf/package-source.sh b/source/x/noto-fonts-ttf/package-source.sh
index 2e11c872..30ae6848 100755
--- a/source/x/noto-fonts-ttf/package-source.sh
+++ b/source/x/noto-fonts-ttf/package-source.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -41,8 +41,9 @@ PACKAGE_NON_NOTO=${PACKAGE_NON_NOTO:-NO}
PACKAGE_UNCOMMON_WEIGHTS=${PACKAGE_UNCOMMON_WEIGHTS:-NO}
# Package unique unhinted fonts? This used to be needed solely for the symbol
-# font, but there are hinted versions now. Suggest NO.
-PACKAGE_UNHINTED_FONTS=${PACKAGE_UNHINTED_FONTS:-NO}
+# font, but there are hinted versions now. There are a few other fonts that are
+# only available as unhinted though.
+PACKAGE_UNHINTED_FONTS=${PACKAGE_UNHINTED_FONTS:-YES}
# Create a temporary extraction directory:
EXTRACT_DIR=$(mktemp -d)
@@ -86,7 +87,8 @@ EXTRACT_DIR=$(mktemp -d)
rm -f --verbose noto-fonts/unhinted/*
fi
mkdir fonts
- mv noto-fonts/*hinted/* fonts
+ mv noto-fonts/unhinted/* fonts
+ mv noto-fonts/hinted/* fonts
# Unless we selected to take non-Noto fonts (these are usually the ChromeOS
# fonts), eliminate any fonts that do not begin with Noto:
if [ "$PACKAGE_NON_NOTO" = "NO" ]; then