Date: Sat, 29 Jan 2000 22:19:19 +0900 (KST) From: CHOI Junho <cjh@kr.FreeBSD.ORG> To: freebsd-ports@FreeBSD.ORG Cc: taoka@FreeBSD.ORG Subject: Re: ports/16375: Ports fix: print/transfig Message-ID: <200001291319.WAA23531@kfug.kr.freebsd.org>
next in thread | raw e-mail | index | archive | help
X-Mailer: Gnus v5.7/Emacs 20.5 Lines: 196 >>>>> "T" == <taoka@FreeBSD.ORG> writes: T> Synopsis: Ports fix: print/transfig T> State-Changed-From-To: open->closed T> State-Changed-By: taoka T> State-Changed-When: Wed Jan 26 17:13:11 PST 2000 T> State-Changed-Why: T> If a update-patch in ports/16381 is committed then this patch is not T> needed. I've tested new xfig/transfig. It looks good. To fully enable Korean facility of new xfig/transfig, korean/munhwafonts-cid and korean/ftghostscript5 should be updated. I'll post korean/ftghostscript5 patches here, and send-pr munhwafonts-cid diffs. korean/ftghostscript5: Please look at ports/16368 also. --- ../ft.old/patches/patch-ab Sat Sep 4 02:52:38 1999 +++ patches/patch-ab Thu Jan 27 21:59:12 2000 @@ -1,6 +1,15 @@ ---- gs_init.ps.orig Wed Jun 30 17:46:34 1999 -+++ gs_init.ps Wed Jun 30 20:18:15 1999 -@@ -68,7 +68,7 @@ +--- g.ps Thu Jan 27 21:57:43 2000 ++++ gs_init.ps Thu Jan 27 21:58:42 2000 +@@ -20,6 +20,8 @@ + % the GNU Project. GNU Ghostscript, as distributed by Aladdin Enterprises, + % does not depend on any other GNU software. + ++% Akira Tanaka <akr@jaist.ac.jp> modified for gs4.03/VFlib support. 1996/10/17 ++ + % Initialization file for the interpreter. + % When this is run, systemdict is still writable. + +@@ -71,7 +73,7 @@ systemdict /.languagelevel known not { /.languagelevel 1 def } if % Optionally choose a default paper size other than U.S. letter. @@ -9,7 +18,28 @@ % Turn on array packing for the rest of initialization. true setpacking -@@ -1465,3 +1465,20 @@ +@@ -121,6 +123,7 @@ + currentdict /NOFONTMAP known /NOFONTMAP exch def + currentdict /NOFONTPATH known /NOFONTPATH exch def + currentdict /NOGC known /NOGC exch def ++currentdict /NOKANJI known /NOKANJI exch def + currentdict /NOPAUSE known /NOPAUSE exch def + currentdict /NOPLATFONTS known /NOPLATFONTS exch def + currentdict /NOPROMPT known /NOPROMPT exch def +@@ -1434,6 +1437,12 @@ + % procedures are writable. + false setpacking + ++% Load the kanji font environment. ++NOKANJI not { ++ (metrics2.ps) runlibfile ++ (kinit.ps) runlibfile ++} if ++ + % Close up systemdict. + currentdict /.forceput .undef % remove temptation + currentdict /filterdict .undef % bound in where needed +@@ -1461,3 +1470,24 @@ (END GC) VMDEBUG % The interpreter will run the initial procedure (start). @@ -22,11 +52,15 @@ +% It should be in Fontmap, but to avoid loading two or more time. +% (it can stop the interpreter - /rangecheck error) +% -+QUIET not { (Loading CID(Korean) Fonts: ) print } if ++QUIET not { (Initializing Korean CID fonts: ) print } if +% font loading start +(Munhwa-Regular-KSC-EUC-H.gsf) runlibfile +QUIET not { (Munhwa-Regular-KSC-EUC-H ) print } if ++(Munhwa-Bold-KSC-EUC-H.gsf) runlibfile ++QUIET not { (Munhwa-Bold-KSC-EUC-H ) print } if +(MunhwaGothic-Regular-KSC-EUC-H.gsf) runlibfile +QUIET not { (MunhwaGothic-Regular-KSC-EUC-H ) print } if ++(MunhwaGothic-Bold-KSC-EUC-H.gsf) runlibfile ++QUIET not { (MunhwaGothic-Bold-KSC-EUC-H ) print } if +% end of font loading +QUIET not { (\n) print } if korean/munhwafonts-cid: diff -x *~ -uNr /usr/ports/korean/munhwafonts-cid/Makefile munhwafonts-cid/Makefile --- /usr/ports/korean/munhwafonts-cid/Makefile Sat Sep 4 00:59:02 1999 +++ munhwafonts-cid/Makefile Thu Jan 27 21:20:17 2000 @@ -18,7 +18,8 @@ BUILD_DEPENDS= ${PREFIX}/share/ghostscript/fonts/Fontmap:${PORTSDIR}/print/gsfonts # sample fonts(cid, free Korean fonts is just only one.. :< ) -CID_FONTS_KO= Munhwa-Regular MunhwaGothic-Regular +CID_FONTS_KO= Munhwa-Regular Munhwa-Bold \ + MunhwaGothic-Regular MunhwaGothic-Bold # CID CMAP CID_CMAP_KO= ak11.tar.Z @@ -31,6 +32,8 @@ do-install: ${INSTALL_DATA} ${FILESDIR}/Munhwa-Regular-KSC-EUC-H.gsf \ ${FILESDIR}/MunhwaGothic-Regular-KSC-EUC-H.gsf \ + ${FILESDIR}/Munhwa-Bold-KSC-EUC-H.gsf \ + ${FILESDIR}/MunhwaGothic-Bold-KSC-EUC-H.gsf \ ${PREFIX}/share/ghostscript/fonts for file in ${CID_FONTS_KO}; do \ ${INSTALL_DATA} ${DISTDIR}/$$file \ diff -x *~ -uNr /usr/ports/korean/munhwafonts-cid/files/Munhwa-Bold-KSC-EUC-H.gsf munhwafonts-cid/files/Munhwa-Bold-KSC-EUC-H.gsf --- /usr/ports/korean/munhwafonts-cid/files/Munhwa-Bold-KSC-EUC-H.gsf Thu Jan 1 09:00:00 1970 +++ munhwafonts-cid/files/Munhwa-Bold-KSC-EUC-H.gsf Thu Jan 27 21:20:51 2000 @@ -0,0 +1,22 @@ +% Munhwa-Bold font definition +% +% idea from README.CID in +% http://www.ldl.jaist.ac.jp/~akr/nonresearch/free-software/ghostscript/\ +% gs5.10-vflib-1.1.tar.gz + +/Munhwa-Bold-KSC-EUC-H +/Munhwa-Bold (Munhwa-Bold) +/KSC-EUC-H (CMap/KSC-EUC-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 diff -x *~ -uNr /usr/ports/korean/munhwafonts-cid/files/MunhwaGothic-Bold-KSC-EUC-H.gsf munhwafonts-cid/files/MunhwaGothic-Bold-KSC-EUC-H.gsf --- /usr/ports/korean/munhwafonts-cid/files/MunhwaGothic-Bold-KSC-EUC-H.gsf Thu Jan 1 09:00:00 1970 +++ munhwafonts-cid/files/MunhwaGothic-Bold-KSC-EUC-H.gsf Thu Jan 27 21:21:04 2000 @@ -0,0 +1,22 @@ +% MunhwaGothic-Bold font definition +% +% idea from README.CID in +% http://www.ldl.jaist.ac.jp/~akr/nonresearch/free-software/ghostscript/\ +% gs5.10-vflib-1.1.tar.gz + +/MunhwaGothic-Bold-KSC-EUC-H +/MunhwaGothic-Bold (MunhwaGothic-Bold) +/KSC-EUC-H (CMap/KSC-EUC-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 diff -x *~ -uNr /usr/ports/korean/munhwafonts-cid/files/md5 munhwafonts-cid/files/md5 --- /usr/ports/korean/munhwafonts-cid/files/md5 Sat Sep 4 00:59:02 1999 +++ munhwafonts-cid/files/md5 Thu Jan 27 21:27:09 2000 @@ -1,3 +1,5 @@ MD5 (Munhwa-Regular) = 7ebe34b42aa9d6fa52391418d78df0e7 +MD5 (Munhwa-Bold) = cb55b36822945f50a50e5a2877439c9a MD5 (MunhwaGothic-Regular) = a49ab92ac1a5da007596d5958ac7f30e +MD5 (MunhwaGothic-Bold) = ee897289af86228d89d8c03891717bdd MD5 (ak11.tar.Z) = 056ef761a22d267ad71f5970938bfbe9 diff -x *~ -uNr /usr/ports/korean/munhwafonts-cid/pkg/PLIST munhwafonts-cid/pkg/PLIST --- /usr/ports/korean/munhwafonts-cid/pkg/PLIST Sat Sep 4 00:59:02 1999 +++ munhwafonts-cid/pkg/PLIST Thu Jan 27 21:20:05 2000 @@ -16,8 +16,12 @@ share/ghostscript/fonts/CMap/UniKS-UCS2-V share/ghostscript/fonts/CMap/UniKS-UTF8-H share/ghostscript/fonts/CMap/UniKS-UTF8-V +share/ghostscript/fonts/Munhwa-Bold +share/ghostscript/fonts/Munhwa-Bold-KSC-EUC-H.gsf share/ghostscript/fonts/Munhwa-Regular share/ghostscript/fonts/Munhwa-Regular-KSC-EUC-H.gsf +share/ghostscript/fonts/MunhwaGothic-Bold +share/ghostscript/fonts/MunhwaGothic-Bold-KSC-EUC-H.gsf share/ghostscript/fonts/MunhwaGothic-Regular share/ghostscript/fonts/MunhwaGothic-Regular-KSC-EUC-H.gsf @dirrm share/ghostscript/fonts/CMap -- +++ Any opinions in this posting are my own and not those of my employers +++ CHOI, Junho <mailto:cjh@kr.freebsd.org> <http://www.kr.freebsd.org/~cjh> - Korea FreeBSD Users Group <http://www.kr.FreeBSD.org> - Public Service, Youido Post Office - Web Data Bank <http://www.wdb.co.kr> 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?200001291319.WAA23531>