From 8176a12d6ed8c28cfafacba648835afd48687389 Mon Sep 17 00:00:00 2001 From: "ancker.du" Date: Tue, 10 Jun 2014 06:38:14 +0700 Subject: system/ttf-arphic-uming: Added (Mingti TrueType Font). Signed-off-by: Willy Sudiarto Raharjo --- .../25-ttf-arphic-uming-bitmaps.conf | 33 ++++++++++ .../25-ttf-arphic-uming-render.conf | 12 ++++ .../35-ttf-arphic-uming-aliases.conf | 13 ++++ system/ttf-arphic-uming/41-ttf-arphic-uming.conf | 41 ++++++++++++ system/ttf-arphic-uming/64-ttf-arphic-uming.conf | 25 +++++++ .../90-ttf-arphic-uming-embolden.conf | 21 ++++++ system/ttf-arphic-uming/README | 28 ++++++++ system/ttf-arphic-uming/doinst.sh | 12 ++++ system/ttf-arphic-uming/slack-desc | 19 ++++++ .../ttf-arphic-uming/ttf-arphic-uming.SlackBuild | 77 ++++++++++++++++++++++ system/ttf-arphic-uming/ttf-arphic-uming.info | 10 +++ 11 files changed, 291 insertions(+) create mode 100644 system/ttf-arphic-uming/25-ttf-arphic-uming-bitmaps.conf create mode 100644 system/ttf-arphic-uming/25-ttf-arphic-uming-render.conf create mode 100644 system/ttf-arphic-uming/35-ttf-arphic-uming-aliases.conf create mode 100644 system/ttf-arphic-uming/41-ttf-arphic-uming.conf create mode 100644 system/ttf-arphic-uming/64-ttf-arphic-uming.conf create mode 100644 system/ttf-arphic-uming/90-ttf-arphic-uming-embolden.conf create mode 100644 system/ttf-arphic-uming/README create mode 100644 system/ttf-arphic-uming/doinst.sh create mode 100644 system/ttf-arphic-uming/slack-desc create mode 100644 system/ttf-arphic-uming/ttf-arphic-uming.SlackBuild create mode 100644 system/ttf-arphic-uming/ttf-arphic-uming.info (limited to 'system') diff --git a/system/ttf-arphic-uming/25-ttf-arphic-uming-bitmaps.conf b/system/ttf-arphic-uming/25-ttf-arphic-uming-bitmaps.conf new file mode 100644 index 0000000000..ad7a8c7525 --- /dev/null +++ b/system/ttf-arphic-uming/25-ttf-arphic-uming-bitmaps.conf @@ -0,0 +1,33 @@ + + + + + + + AR PL UMing CN + + + false + true + false + + + + + AR PL UMing CN + + + 17 + true + true + + + diff --git a/system/ttf-arphic-uming/25-ttf-arphic-uming-render.conf b/system/ttf-arphic-uming/25-ttf-arphic-uming-render.conf new file mode 100644 index 0000000000..f962c44551 --- /dev/null +++ b/system/ttf-arphic-uming/25-ttf-arphic-uming-render.conf @@ -0,0 +1,12 @@ + + + + + + AR PL UMing + + false + 90 + false + + diff --git a/system/ttf-arphic-uming/35-ttf-arphic-uming-aliases.conf b/system/ttf-arphic-uming/35-ttf-arphic-uming-aliases.conf new file mode 100644 index 0000000000..2d803f708c --- /dev/null +++ b/system/ttf-arphic-uming/35-ttf-arphic-uming-aliases.conf @@ -0,0 +1,13 @@ + + + + + AR PL ShanHeiSun Uni + AR PL UMing HK + + + + AR PL ShanHeiSun Uni MBE + AR PL UMing TW MBE + + diff --git a/system/ttf-arphic-uming/41-ttf-arphic-uming.conf b/system/ttf-arphic-uming/41-ttf-arphic-uming.conf new file mode 100644 index 0000000000..f8273191ea --- /dev/null +++ b/system/ttf-arphic-uming/41-ttf-arphic-uming.conf @@ -0,0 +1,41 @@ + + + + + + + AR PL ShanHeiSun Uni + AR PL ShanHeiSun Uni MBE + AR PL UMing CN + AR PL UMing HK + AR PL UMing TW + AR PL UMing TW MBE + serif + + + + AR PL ShanHeiSun Uni + AR PL ShanHeiSun Uni MBE + AR PL UMing CN + AR PL UMing HK + AR PL UMing TW + AR PL UMing TW MBE + sans-serif + + + + AR PL ShanHeiSun Uni + AR PL ShanHeiSun Uni MBE + AR PL UMing CN + AR PL UMing HK + AR PL UMing TW + AR PL UMing TW MBE + monospace + + diff --git a/system/ttf-arphic-uming/64-ttf-arphic-uming.conf b/system/ttf-arphic-uming/64-ttf-arphic-uming.conf new file mode 100644 index 0000000000..f611d1034f --- /dev/null +++ b/system/ttf-arphic-uming/64-ttf-arphic-uming.conf @@ -0,0 +1,25 @@ + + + + + serif + + AR PL UMing HK + AR PL UMing CN + + + + sans-serif + + AR PL UMing HK + AR PL UMing CN + + + + monospace + + AR PL UMing HK + AR PL UMing CN + + + diff --git a/system/ttf-arphic-uming/90-ttf-arphic-uming-embolden.conf b/system/ttf-arphic-uming/90-ttf-arphic-uming-embolden.conf new file mode 100644 index 0000000000..30b19998bb --- /dev/null +++ b/system/ttf-arphic-uming/90-ttf-arphic-uming-embolden.conf @@ -0,0 +1,21 @@ + + + + + + + AR PL UMing + + + + 100 + + + 180 + + + true + + + + diff --git a/system/ttf-arphic-uming/README b/system/ttf-arphic-uming/README new file mode 100644 index 0000000000..4a848206b6 --- /dev/null +++ b/system/ttf-arphic-uming/README @@ -0,0 +1,28 @@ +CJK Unicode font Ming style +=========================== + +This font was taken from the from the TrueType fonts generously released by +Arphic Technologies Taiwan under the Arphic Public License. +It was modified with Fontforge by Arne Goetje to contain +both Big5 and GB2312 charsets plus some European characters. + +Currently it fully supports the following charsets: +ISO8859-1,2,3,4,7,9,10,13,14,15 +Big5 +HKSCS-2004 +GB2312-80 +Bopomofo Extensions for Hakka, Minnan (Unicode 5.0) and their MBE variants. + +Partly support is implemented for: +CNS 11643 +GBK +GB18030 +Japanese +Korean + +This font is under development, new glyphs for the partly supported charsets +are constantly added. + +This font is a TrueType Collection containing 4 flavors, namely +CN, HK, TW and TW MBE. Please see NEWS, KNOWN_ISSUES, FONTLOG and TODO for +details. diff --git a/system/ttf-arphic-uming/doinst.sh b/system/ttf-arphic-uming/doinst.sh new file mode 100644 index 0000000000..38d432bcc5 --- /dev/null +++ b/system/ttf-arphic-uming/doinst.sh @@ -0,0 +1,12 @@ +# There's no need to chroot and do this during initial +# install, since there is a post-install script that +# does the same thing, saving time. +# Update X font indexes and the font cache: +if [ -x /usr/bin/mkfontdir ]; then + /usr/bin/mkfontscale /usr/share/fonts/TTF + /usr/bin/mkfontdir /usr/share/fonts/TTF +fi + +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache /usr/share/fonts/TTF +fi diff --git a/system/ttf-arphic-uming/slack-desc b/system/ttf-arphic-uming/slack-desc new file mode 100644 index 0000000000..b43191ac7c --- /dev/null +++ b/system/ttf-arphic-uming/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +ttf-arphic-uming: ttf-arphic-uming (Unicode Mingti (printed) TrueType Font) +ttf-arphic-uming: +ttf-arphic-uming: Currently contains glyphs for * Big5 * GB2312-80 * HKSCS-2004 +ttf-arphic-uming: * ISO8859-1,2,3,4,9,10,13,14,15 +ttf-arphic-uming: * Bopomofo Extended for Minnan and Hakka +ttf-arphic-uming: The Mingti font contains Firefly's bitmap characters for +ttf-arphic-uming: pixelsizes 11, 12, 13, 14, 15 and 16. +ttf-arphic-uming: Currently only Big5 and GB2312 are covered by those. +ttf-arphic-uming: +ttf-arphic-uming: Project URL: http://www.freedesktop.org/wiki/Software/CJKUnifonts +ttf-arphic-uming: diff --git a/system/ttf-arphic-uming/ttf-arphic-uming.SlackBuild b/system/ttf-arphic-uming/ttf-arphic-uming.SlackBuild new file mode 100644 index 0000000000..988ad7de5b --- /dev/null +++ b/system/ttf-arphic-uming/ttf-arphic-uming.SlackBuild @@ -0,0 +1,77 @@ +#!/bin/sh + +# Slackware build script for ttf-arphic-uming + +# Copyright 2014 ancker.du +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=ttf-arphic-uming +VERSION=${VERSION:-0.2.20080216.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +mkdir -p $PRGNAM +rm -rf $PRGNAM-$VERSION + +tar xvf $CWD/$PRGNAM\_${VERSION}.orig.tar.gz -C $PRGNAM +mv $PRGNAM $PRGNAM-$VERSION +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 {} \; + +mkdir -p $PKG/usr/share/fonts/TTF +cp -a *.ttc $PKG/usr/share/fonts/TTF + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CONTRIBUTERS FONTLOG Font_Comparison_ShanHeiSun_UMing.odt Font_Comparison_ShanHeiSun_UMing.pdf INSTALL \ + KNOWN_ISSUES NEWS README README.Bitmap license $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/etc/fonts/conf.{d,avail} +cat $CWD/25-ttf-arphic-uming-bitmaps.conf > $PKG/etc/fonts/conf.avail/25-ttf-arphic-uming-bitmaps.conf +cat $CWD/25-ttf-arphic-uming-render.conf > $PKG/etc/fonts/conf.avail/25-ttf-arphic-uming-render.conf +cat $CWD/35-ttf-arphic-uming-aliases.conf > $PKG/etc/fonts/conf.avail/35-ttf-arphic-uming-aliases.conf +cat $CWD/41-ttf-arphic-uming.conf > $PKG/etc/fonts/conf.avail/41-ttf-arphic-uming.conf +cat $CWD/64-ttf-arphic-uming.conf > $PKG/etc/fonts/conf.avail/64-ttf-arphic-uming.conf +cat $CWD/90-ttf-arphic-uming-embolden.conf > $PKG/etc/fonts/conf.avail/90-ttf-arphic-uming-embolden.conf +cd $PKG/etc/fonts/conf.d && ln -sf ../conf.avail/25-ttf-arphic-uming-bitmaps.conf && ln -sf ../conf.avail/25-ttf-arphic-uming-render.conf && ln -sf ../conf.avail/35-ttf-arphic-uming-aliases.conf && ln -sf ../conf.avail/41-ttf-arphic-uming.conf && ln -sf ../conf.avail/64-ttf-arphic-uming.conf && ln -sf ../conf.avail/90-ttf-arphic-uming-embolden.conf + +mkdir -p $PKG/install +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} diff --git a/system/ttf-arphic-uming/ttf-arphic-uming.info b/system/ttf-arphic-uming/ttf-arphic-uming.info new file mode 100644 index 0000000000..db47ab5e55 --- /dev/null +++ b/system/ttf-arphic-uming/ttf-arphic-uming.info @@ -0,0 +1,10 @@ +PRGNAM="ttf-arphic-uming" +VERSION="0.2.20080216.1" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/CJKUnifonts/" +DOWNLOAD="http://tw.archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.20080216.1.orig.tar.gz" +MD5SUM="d219fcaf953f3eb1889399955a00379f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="ancker.du" +EMAIL="ancker.du@gmail.com" -- cgit v1.2.3