- Add japanese font
PR: 113474 Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> (maintainer) Thanks to: ume@
This commit is contained in:
parent
9839ed46e7
commit
10882b18d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193101
2 changed files with 43 additions and 0 deletions
|
@ -19,6 +19,12 @@ COMMENT= Postscript interpreter for CUPS printing to non-PS printers
|
|||
|
||||
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base
|
||||
|
||||
.if defined(WITH_CJK)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/ipag.ttf:${PORTSDIR}/japanese/ipa-ttfonts \
|
||||
${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-lib_cidfmap
|
||||
.endif
|
||||
|
||||
ESPGS_VER= ${PORTVERSION}
|
||||
GS_VERSION= 8.15
|
||||
|
||||
|
@ -39,6 +45,13 @@ MAKE_ARGS= CFLAGS_STANDARD="${CFLAGS} -DUPD_SIGNAL=0" \
|
|||
DEVICE_DEVS="\$$(DD)cups.dev \$$(DD)pxlcolor.dev \$$(DD)pxlmono.dev"
|
||||
PLIST_SUB= GS_VERSION="${GS_VERSION}"
|
||||
|
||||
pre-everything::
|
||||
.if !defined(WITH_CJK)
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Define WITH_CJK to enable Japanese PostScript documents processing"
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
${RM} -f ${WRKSRC}/ijs/config.guess ${WRKSRC}/ijs/missing ${WRKSRC}/ijs/config.sub ${WRKSRC}/ijs/install-sh ${WRKSRC}/ijs/ltmain.sh
|
||||
${RM} -f ${WRKSRC}/trunk/ijs/config.guess ${WRKSRC}/trunk/ijs/missing ${WRKSRC}/trunk/ijs/config.sub ${WRKSRC}/trunk/ijs/install-sh ${WRKSRC}/trunk/ijs/ltmain.sh
|
||||
|
|
30
print/cups-pstoraster/files/extra-patch-lib_cidfmap
Normal file
30
print/cups-pstoraster/files/extra-patch-lib_cidfmap
Normal file
|
@ -0,0 +1,30 @@
|
|||
--- lib/cidfmap.orig Thu Dec 29 04:56:24 2005
|
||||
+++ lib/cidfmap Mon Apr 9 00:47:56 2007
|
||||
@@ -26,3 +26,27 @@
|
||||
% /ShinGo-Bold /HeiseiKakuGo-W5 ;
|
||||
% /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
|
||||
%
|
||||
+/Ryumin-Light << /FileType /TrueType /Path (Ryumin-Light.ttf) /SubfontID 0 /CSI [(Japan1) 3] >> ;
|
||||
+/GothicBBB-Medium << /FileType /TrueType /Path (GothicBBB-Medium.ttf) /SubfontID 0 /CSI [(Japan1) 3] >> ;
|
||||
+
|
||||
+/HeiseiMin-W3 /Ryumin-Light ;
|
||||
+%/HeiseiMin-W3 /WadaMin-Regular ;
|
||||
+/HeiseiKakuGo-W5 /GothicBBB-Medium ;
|
||||
+%/HeiseiKakuGo-W5 /WadaGo-Bold ;
|
||||
+/FutoMinA101-Bold /Ryumin-Light ;
|
||||
+%/FutoMinA101-Bold /WadaMin-Regular ;
|
||||
+/FutoGoB101-Bold /GothicBBB-Medium ;
|
||||
+%/FutoGoB101-Bold /WadaGo-Bold ;
|
||||
+/Jun101-Light /Ryumin-Light ;
|
||||
+%/Jun101-Light /WadaMin-Regular ;
|
||||
+/MidashiGo-MB31 /GothicBBB-Medium ;
|
||||
+%/MidashiGo-MB31 /WadaGo-Bold ;
|
||||
+
|
||||
+%/Munhwa-Regular /Munhwa-Regular ;
|
||||
+%/MunhwaGothic-Regular /MunhwaGothic-Regular ;
|
||||
+%/Munhwa-Bold /Munhwa-Bold ;
|
||||
+%/MunhwaGothic-Bold /MunhwaGothic-Bold ;
|
||||
+
|
||||
+/HYGoThic-Medium /MunhwaGothic-Regular ;
|
||||
+/HYSMyeongJo-Medium /Munhwa-Regular ;
|
||||
+/HYRGoThic-Medium /MunhwaGothic-Bold ;
|
Loading…
Reference in a new issue