From 8fbb0397a55d500cc154c0d36356a73f832c1449 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Sun, 24 Nov 2019 11:47:35 +0000 Subject: [PATCH] Add chinese/taipeisanstc: Taipei Sans TC is re-edited based on the KR version of Source Han Sans. Most Han characters in daily life of the Traditional Chinese world have been applied unified print style and contemporary Han character characteristics. --- chinese/Makefile | 1 + chinese/taipeisanstc/Makefile | 35 ++++++++++++++++++++++++++++++++++ chinese/taipeisanstc/distinfo | 7 +++++++ chinese/taipeisanstc/pkg-descr | 10 ++++++++++ 4 files changed, 53 insertions(+) create mode 100644 chinese/taipeisanstc/Makefile create mode 100644 chinese/taipeisanstc/distinfo create mode 100644 chinese/taipeisanstc/pkg-descr diff --git a/chinese/Makefile b/chinese/Makefile index 7449046992d1..b6bdfffc8656 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -102,6 +102,7 @@ SUBDIR += sourcehanserif-sc-otf SUBDIR += sourcehanserif-tc-otf SUBDIR += sunpinyin + SUBDIR += taipeisanstc SUBDIR += tin SUBDIR += tintin++ SUBDIR += ttf2pt1 diff --git a/chinese/taipeisanstc/Makefile b/chinese/taipeisanstc/Makefile new file mode 100644 index 000000000000..00394b453c8a --- /dev/null +++ b/chinese/taipeisanstc/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= taipeisanstc +DISTVERSION= Beta +CATEGORIES= chinese x11-fonts +MASTER_SITES= https://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/taipeisanstc/ + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= Taipei Sans TC + +LICENSE= OFL11 + +USES= fonts + +TYPES= Bold Light Regular +.for type in ${TYPES} +DISTFILES+= TaipeiSansTC${DISTVERSION}-${type}.ttf +PLIST_FILES+= ${FONTSDIR}/TaipeiSansTC${DISTVERSION}-${type}.ttf +.endfor + +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= -a +EXTRACT_AFTER_ARGS= . + +NO_ARCH= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +do-install: + @${MKDIR} ${STAGEDIR}${FONTSDIR} +.for type in ${TYPES} + ${INSTALL_DATA} ${WRKSRC}/TaipeiSansTC${DISTVERSION}-${type}.ttf ${STAGEDIR}${FONTSDIR} +.endfor + +.include diff --git a/chinese/taipeisanstc/distinfo b/chinese/taipeisanstc/distinfo new file mode 100644 index 000000000000..f4d45d3511b2 --- /dev/null +++ b/chinese/taipeisanstc/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1574593960 +SHA256 (TaipeiSansTCBeta-Bold.ttf) = 5249d3bdda9c9f4c62840e804b4d2530b7f4dfab6d68fb508c120b0e7e600419 +SIZE (TaipeiSansTCBeta-Bold.ttf) = 21737516 +SHA256 (TaipeiSansTCBeta-Light.ttf) = d69a9ea6a77f694c3a1a1fb766c764aa74cb3e2c4c69f1b532edf98b3f2bb662 +SIZE (TaipeiSansTCBeta-Light.ttf) = 20279264 +SHA256 (TaipeiSansTCBeta-Regular.ttf) = 8cc967e1e428c552701c461e8169e6ae76c7a23694ea1a6a786d6746adec53c4 +SIZE (TaipeiSansTCBeta-Regular.ttf) = 20659344 diff --git a/chinese/taipeisanstc/pkg-descr b/chinese/taipeisanstc/pkg-descr new file mode 100644 index 000000000000..a5412fd3d10d --- /dev/null +++ b/chinese/taipeisanstc/pkg-descr @@ -0,0 +1,10 @@ +Taipei Sans TC is re-edited based on the KR version of Source Han Sans. Most +Han characters in daily life of the Traditional Chinese world have been applied +unified print style and contemporary Han character characteristics. + +Taipei Sans TC retains all Han characters (including Chinese simplified Hanzi, +Japanese Kanji and Korean Hanja) and Japanese Kana from Source Han Sans. Han +characters not originally included in the KR version still retain their +characteristics from the CN (SC), JP or TW (TC) version. + +WWW: https://sites.google.com/view/jtfoundry/