Use an old version of IPA fonts as Ryumin-Light and GothicBBB-Medium for

Ghostscript 7.  This is because the latest version is not compatible with
.optnttcidfont directive.  The other versions of Ghostscript use the new
version.
This commit is contained in:
Hiroki Sato
2013-05-01 02:55:55 +00:00
parent 41d078d158
commit c5045d2bd1
6 changed files with 23 additions and 19 deletions

View File

@@ -1,35 +1,35 @@
# New ports collection makefile for: font-std
# Date created: 15 May 2009
# Whom: hrs
#
# $FreeBSD$
#
PORTNAME= font-std
PORTVERSION= 0.0.20090602
PORTNAME= std
PORTVERSION= 0.0.20130501
CATEGORIES= japanese x11-fonts
MASTER_SITES= # empty
PKGNAMEPREFIX= ja-font-
DISTFILES= # empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= Japanese Standard Fonts
RUN_DEPENDS= ${LOCALBASE}/share/font-ipa/ipam.otf:${PORTSDIR}/japanese/font-ipa \
${LOCALBASE}/share/font-ipa/ipag.otf:${PORTSDIR}/japanese/font-ipa
${LOCALBASE}/share/font-ipa/ipag.otf:${PORTSDIR}/japanese/font-ipa \
${LOCALBASE}/share/font-mplus-ipa/fonts/ipam.ttf:${PORTSDIR}/japanese/font-mplus-ipa \
${LOCALBASE}/share/font-mplus-ipa/fonts/ipag.ttf:${PORTSDIR}/japanese/font-mplus-ipa
NO_BUILD= yes
PLIST_FILES= ${FONTSDIR}/std.ja_JP/Ryumin-Light \
${FONTSDIR}/std.ja_JP/GothicBBB-Medium \
${FONTSDIR}/std.ja_JP/Mincho \
${FONTSDIR}/std.ja_JP/Gothic
PLIST_FILES= ${STD:S,^,${FONTSDIR}/std.ja_JP/,}
PLIST_DIRS= ${FONTSDIR}/std.ja_JP
DATADIR= ${PREFIX}/share/font-${PORTNAME}
FONTSDIR= share/fonts
STD= Mincho Gothic Ryumin-Light GothicBBB-Medium
STD= Mincho Gothic \
Ryumin-Light GothicBBB-Medium \
Ryumin-Light.gs7 GothicBBB-Medium.gs7
STD_Mincho= ${LOCALBASE}/share/font-ipa/ipam.otf
STD_Gothic= ${LOCALBASE}/share/font-ipa/ipag.otf
STD_Ryumin-Light= ${LOCALBASE}/share/font-ipa/ipam.otf
STD_GothicBBB-Medium= ${LOCALBASE}/share/font-ipa/ipag.otf
STD_Ryumin-Light.gs7= ${LOCALBASE}/share/font-mplus-ipa/fonts/ipam.ttf
STD_GothicBBB-Medium.gs7= ${LOCALBASE}/share/font-mplus-ipa/fonts/ipag.ttf
do-fetch:
@${DO_NADA}

View File

@@ -3,7 +3,7 @@
PORTNAME= ghostscript
PORTVERSION= 7.07
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= print
MASTER_SITES= # empty
PKGNAMESUFFIX= 7-commfont

View File

@@ -45,13 +45,13 @@ CT.SANSSERIF= MHei-Medium
JA.CMAPS= aj16 aj20
JA.SERIF.GENERIC= Ryumin-Light
JA.SERIF.GENERIC_SUBST= Ryumin-Light
JA.SERIF.GENERIC_SUBST= Ryumin-Light.gs7
JA.SERIF= Ryumin-Light \
FutoMinA101-Bold \
HeiseiMin-W3
JA.SANSSERIF.GENERIC= GothicBBB-Medium
JA.SANSSERIF.GENERIC_SUBST= GothicBBB-Medium
JA.SANSSERIF.GENERIC_SUBST= GothicBBB-Medium.gs7
JA.SANSSERIF= GothicBBB-Medium \
FutoGoB101-Bold \
HeiseiKakuGo-W5 \

View File

@@ -3,7 +3,7 @@
PORTNAME= ghostscript
PORTVERSION= 7.07
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= japanese print
MASTER_SITES= # empty
PKGNAMESUFFIX= 7-jpnfont
@@ -12,7 +12,7 @@ DISTFILES= # empty
MAINTAINER= doceng@FreeBSD.org
COMMENT= Japanese font support for Ghostscript 7.x
RUN_DEPENDS= ${LOCALBASE}/share/fonts/std.ja_JP/Ryumin-Light:${PORTSDIR}/japanese/font-std \
RUN_DEPENDS= ${LOCALBASE}/share/fonts/std.ja_JP/Ryumin-Light.gs7:${PORTSDIR}/japanese/font-std \
${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:${PORTSDIR}/print/ghostscript7-commfont
# set these forcibly

View File

@@ -3,7 +3,7 @@
PORTNAME= gsfonts
PORTVERSION= 8.11
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= print x11-fonts
MASTER_SITES= SF/gs-fonts/gs-fonts/${PORTVERSION}%20%28base%2035%2C%20GPL%29/:std \
SF/gs-fonts/gs-fonts/6.0%20%28misc%2C%20GPL%29/:other
@@ -22,6 +22,8 @@ OPTIONS_DEFINE= DOCS
FONTSDIR= ${PREFIX}/share/ghostscript/fonts
CJKFONTS?= std.ja_JP/Ryumin-Light \
std.ja_JP/GothicBBB-Medium \
std.ja_JP/Ryumin-Light.gs7 \
std.ja_JP/GothicBBB-Medium.gs7 \
std.zh_CN/STHeiti-Regular \
std.zh_CN/STSong-Light \
std.zh_CN/MSung-Light

View File

@@ -155,6 +155,8 @@
%%FONTSDIR%%/z003034l.pfm
%%FONTSDIR%%/Ryumin-Light
%%FONTSDIR%%/GothicBBB-Medium
%%FONTSDIR%%/Ryumin-Light.gs7
%%FONTSDIR%%/GothicBBB-Medium.gs7
%%FONTSDIR%%/STHeiti-Regular
%%FONTSDIR%%/STSong-Light
%%FONTSDIR%%/MSung-Light