Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2002 23:24:49 +0800 (CST)
From:      Statue <statue@softwareliberty.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38621: Update port: print/ghostscript-gnu-commfont for Chinese support
Message-ID:  <20020527152449.66C15759C@softwareliberty.org>

next in thread | raw e-mail | index | archive | help

>Number:         38621
>Category:       ports
>Synopsis:       Update port: print/ghostscript-gnu-commfont for Chinese support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 27 08:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Apr 25 11:32:54 CST 2002 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/FREEBSD i386


	
>Description:
add Chinese support
	
>How-To-Repeat:
	
>Fix:

diff -ruN ghostscript-gnu-commfont.orig/Makefile.common ghostscript-gnu-commfont/Makefile.common
--- ghostscript-gnu-commfont.orig/Makefile.common	Wed May 15 09:17:51 2002
+++ ghostscript-gnu-commfont/Makefile.common	Mon May 27 23:09:37 2002
@@ -35,6 +35,12 @@
 PKGNAMESUFFIX:=	${PKGNAMESUFFIX}-korfont
 RUN_DEPENDS+=	${LOCALBASE}/share/ghostscript/fonts/Munhwa-Bold:${PORTSDIR}/korean/munhwafonts-cid
 CIDFNMAP=	CIDFnmap.ko
+.elif defined(ZHFONT)
+CATEGORIES+=	chinese
+PKGNAMEPREFIX=	zh-
+PKGNAMESUFFIX:=	${PKGNAMESUFFIX}-zhfont
+RUN_DEPENDS+=	${LOCALBASE}/share/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf
+CIDFNMAP=	CIDFnmap.zh
 .endif
 .endif
 
diff -ruN ghostscript-gnu-commfont.orig/files/CIDFnmap.zh ghostscript-gnu-commfont/files/CIDFnmap.zh
--- ghostscript-gnu-commfont.orig/files/CIDFnmap.zh	Thu Jan  1 08:00:00 1970
+++ ghostscript-gnu-commfont/files/CIDFnmap.zh	Mon May 27 23:16:47 2002
@@ -0,0 +1,11 @@
+% Chinese Truetype Fonts (Arphic)
+/ZenKai-Medium		(%%LOCALBASE%%/share/fonts/TrueType/bkai00mp.ttf) 1 ;
+/ShanHeiSun-Light	(%%LOCALBASE%%/share/fonts/TrueType/bsmi00lp.ttf) 1 ;
+
+%
+% Convenient aliases for PS files on Chinese PostScript printer
+%
+/B5-H			/ZenKai-Medium		;
+/ETen-B5-H		/ZenKai-Medium		;
+/B5-H			/ShanHeiSun-Light	;
+/ETen-B5-H		/ShanHeiSun-Light	;
	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020527152449.66C15759C>