Import moefonts-cid, which is MOE CIDFonts converted by Adobe.

PR: 21703
Submitted by: Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>
This commit is contained in:
Kevin Lo 2000-10-03 15:43:11 +00:00
parent af715b463b
commit bbe8ef209a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33371
13 changed files with 234 additions and 0 deletions

View File

@ -24,6 +24,7 @@
SUBDIR += kcfonts
SUBDIR += libtabe
SUBDIR += lunar
SUBDIR += moefonts-cid
SUBDIR += moettf
SUBDIR += mule-freewnn
SUBDIR += muni

View File

@ -0,0 +1,43 @@
# New ports collection makefile for: MOE CIDFonts
# Date created: 3 Mar 2000
# Whom: Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#
PORTNAME= moefonts-cid
PORTVERSION= 1.0
CATEGORIES= chinese print
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/moe_cidfonts/ \
ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/ \
ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/samples/
DISTFILES= MOEKai-Regular MOESung-Regular ac13.tar.Z ag13.tar.Z
MAINTAINER= keith@freebsd.sinica.edu.tw
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6
NO_BUILD= YES
do-extract:
@${MKDIR} ${WRKDIR}
@(cd ${WRKDIR} && \
${TAR} xzf ${DISTDIR}/ac13.tar.Z && \
${TAR} xzf ${DISTDIR}/ag13.tar.Z )
do-install:
@${INSTALL_DATA} ${DISTDIR}/MOEKai-Regular \
${DISTDIR}/MOESung-Regular \
${FILESDIR}/MOEKai-Regular-ETen-B5-H.gsf \
${FILESDIR}/MOEKai-Regular-ETen-B5-V.gsf \
${FILESDIR}/MOESung-Regular-ETen-B5-H.gsf \
${FILESDIR}/MOESung-Regular-ETen-B5-V.gsf \
${PREFIX}/share/ghostscript/fonts
@${MKDIR} ${PREFIX}/share/ghostscript/fonts/CMap
@${INSTALL_DATA} ${WRKDIR}/ac13/CMap/* \
${PREFIX}/share/ghostscript/fonts/CMap
@${INSTALL_DATA} ${WRKDIR}/ag13/CMap/* \
${PREFIX}/share/ghostscript/fonts/CMap
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (MOEKai-Regular) = f8a94515e3058321c78149e862005459
MD5 (MOESung-Regular) = 42a8801fb18a4b851a7ce1224b3b5bc3
MD5 (ac13.tar.Z) = bfd28f5d6f6dd6f8e3ea9080e9aca359
MD5 (ag13.tar.Z) = 8f664529e6a0fc0405a7c1520c532544

View File

@ -0,0 +1,16 @@
/MOEKai-Regular-ETen-B5-H
/MOEKai-Regular (MOEKai-Regular)
/ETen-B5-H (CMap/ETen-B5-H)
1 index /CMap resourcestatus
{pop pop pop}
{runlibfile} ifelse
/CMap findresource
3 1 roll
1 index /CIDFont resourcestatus
{pop pop pop}
{runlibfile} ifelse
/CIDFont findresource
[ exch ] composefont pop

View File

@ -0,0 +1,16 @@
/MOEKai-Regular-ETen-B5-V
/MOEKai-Regular (MOEKai-Regular)
/ETen-B5-V (CMap/ETen-B5-V)
1 index /CMap resourcestatus
{pop pop pop}
{runlibfile} ifelse
/CMap findresource
3 1 roll
1 index /CIDFont resourcestatus
{pop pop pop}
{runlibfile} ifelse
/CIDFont findresource
[ exch ] composefont pop

View File

@ -0,0 +1,16 @@
/MOESung-Regular-ETen-B5-H
/MOESung-Regular (MOESung-Regular)
/ETen-B5-H (CMap/ETen-B5-H)
1 index /CMap resourcestatus
{pop pop pop}
{runlibfile} ifelse
/CMap findresource
3 1 roll
1 index /CIDFont resourcestatus
{pop pop pop}
{runlibfile} ifelse
/CIDFont findresource
[ exch ] composefont pop

View File

@ -0,0 +1,16 @@
/MOESung-Regular-ETen-B5-V
/MOESung-Regular (MOESung-Regular)
/ETen-B5-V (CMap/ETen-B5-V)
1 index /CMap resourcestatus
{pop pop pop}
{runlibfile} ifelse
/CMap findresource
3 1 roll
1 index /CIDFont resourcestatus
{pop pop pop}
{runlibfile} ifelse
/CIDFont findresource
[ exch ] composefont pop

View File

@ -0,0 +1 @@
MOE CIDFonts converted by Adobe

View File

@ -0,0 +1,14 @@
#!/bin/sh
GSVER=6.01
GSDIR=${PKG_PREFIX}/share/ghostscript
FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS
FONTMAPTMP=${FONTMAP}.tmp
# Run just once.
if [ "x$2" != "xDEINSTALL" ]; then
exit 0
fi
sed -e "/^\/MOE.*/d" ${FONTMAP} > ${FONTMAPTMP}
mv -f ${FONTMAPTMP} ${FONTMAP}

View File

@ -0,0 +1,13 @@
MOE CIDFonts
============
This font collection is used by ghostscript, for printing
Chinese documents.
Chinese CID-Keyed fonts(MOEKai and MOESung) are provided by
Adobe, and original 48x48 bitmap fonts is from Ministry of
Education of Taiwan Government, prepared by Dynalab. These
fonts are free to use.
--
Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>

View File

@ -0,0 +1,15 @@
#!/bin/sh
GSVER=6.01
GSDIR=${PKG_PREFIX}/share/ghostscript
FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS
# Run just once.
if [ "x$2" != "xPOST-INSTALL" ]; then
exit 0
fi
echo "/MOEKai-Regular-ETen-B5-H (MOEKai-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP}
echo "/MOEKai-Regular-ETen-B5-V (MOEKai-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP}
echo "/MOESung-Regular-ETen-B5-H (MOESung-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP}
echo "/MOESung-Regular-ETen-B5-V (MOESung-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP}

View File

@ -0,0 +1,65 @@
share/ghostscript/fonts/CMap/Adobe-CNS1-0
share/ghostscript/fonts/CMap/Adobe-CNS1-1
share/ghostscript/fonts/CMap/Adobe-CNS1-2
share/ghostscript/fonts/CMap/Adobe-CNS1-3
share/ghostscript/fonts/CMap/Adobe-GB1-0
share/ghostscript/fonts/CMap/Adobe-GB1-1
share/ghostscript/fonts/CMap/Adobe-GB1-2
share/ghostscript/fonts/CMap/Adobe-GB1-3
share/ghostscript/fonts/CMap/B5-H
share/ghostscript/fonts/CMap/B5-V
share/ghostscript/fonts/CMap/B5pc-H
share/ghostscript/fonts/CMap/B5pc-V
share/ghostscript/fonts/CMap/CNS-EUC-H
share/ghostscript/fonts/CMap/CNS-EUC-V
share/ghostscript/fonts/CMap/CNS1-H
share/ghostscript/fonts/CMap/CNS1-V
share/ghostscript/fonts/CMap/CNS2-H
share/ghostscript/fonts/CMap/CNS2-V
share/ghostscript/fonts/CMap/ETHK-B5-H
share/ghostscript/fonts/CMap/ETHK-B5-V
share/ghostscript/fonts/CMap/ETen-B5-H
share/ghostscript/fonts/CMap/ETen-B5-V
share/ghostscript/fonts/CMap/GB-EUC-H
share/ghostscript/fonts/CMap/GB-EUC-V
share/ghostscript/fonts/CMap/GB-H
share/ghostscript/fonts/CMap/GB-V
share/ghostscript/fonts/CMap/GBK-EUC-H
share/ghostscript/fonts/CMap/GBK-EUC-V
share/ghostscript/fonts/CMap/GBKp-EUC-H
share/ghostscript/fonts/CMap/GBKp-EUC-V
share/ghostscript/fonts/CMap/GBT-EUC-H
share/ghostscript/fonts/CMap/GBT-EUC-V
share/ghostscript/fonts/CMap/GBT-H
share/ghostscript/fonts/CMap/GBT-V
share/ghostscript/fonts/CMap/GBTpc-EUC-H
share/ghostscript/fonts/CMap/GBTpc-EUC-V
share/ghostscript/fonts/CMap/GBpc-EUC-H
share/ghostscript/fonts/CMap/GBpc-EUC-V
share/ghostscript/fonts/CMap/HKdla-B5-H
share/ghostscript/fonts/CMap/HKdla-B5-V
share/ghostscript/fonts/CMap/HKdlb-B5-H
share/ghostscript/fonts/CMap/HKdlb-B5-V
share/ghostscript/fonts/CMap/HKgccs-B5-H
share/ghostscript/fonts/CMap/HKgccs-B5-V
share/ghostscript/fonts/CMap/HKm314-B5-H
share/ghostscript/fonts/CMap/HKm314-B5-V
share/ghostscript/fonts/CMap/HKm471-B5-H
share/ghostscript/fonts/CMap/HKm471-B5-V
share/ghostscript/fonts/CMap/HKscs-B5-H
share/ghostscript/fonts/CMap/HKscs-B5-V
share/ghostscript/fonts/CMap/UniCNS-UCS2-H
share/ghostscript/fonts/CMap/UniCNS-UCS2-V
share/ghostscript/fonts/CMap/UniCNS-UTF8-H
share/ghostscript/fonts/CMap/UniCNS-UTF8-V
share/ghostscript/fonts/CMap/UniGB-UCS2-H
share/ghostscript/fonts/CMap/UniGB-UCS2-V
share/ghostscript/fonts/CMap/UniGB-UTF8-H
share/ghostscript/fonts/CMap/UniGB-UTF8-V
share/ghostscript/fonts/MOEKai-Regular
share/ghostscript/fonts/MOEKai-Regular-ETen-B5-H.gsf
share/ghostscript/fonts/MOEKai-Regular-ETen-B5-V.gsf
share/ghostscript/fonts/MOESung-Regular
share/ghostscript/fonts/MOESung-Regular-ETen-B5-H.gsf
share/ghostscript/fonts/MOESung-Regular-ETen-B5-V.gsf
@dirrm share/ghostscript/fonts/CMap

View File

@ -0,0 +1,14 @@
#!/bin/sh
if [ "$2" != "INSTALL" ]; then
exit 0
fi
if [ ! -f /usr/local/share/ghostscript/6.01/lib/Fontmap.GS ]; then
echo ===
echo You do not have Ghostscript 6.01 installed!
echo
echo This port is specifically for version 6.01 or later, for
echo it fixes many bugs wrt. CIDFonts.
echo ===
fi