summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--korean/ftghostscript5/files/patch-ab14
-rw-r--r--korean/ghostscript55httf/files/patch-ab14
-rw-r--r--korean/munhwafonts-cid/Makefile5
-rw-r--r--korean/munhwafonts-cid/distinfo2
-rw-r--r--korean/munhwafonts-cid/files/Munhwa-Bold-KSC-EUC-H.gsf22
-rw-r--r--korean/munhwafonts-cid/files/MunhwaGothic-Bold-KSC-EUC-H.gsf22
-rw-r--r--korean/munhwafonts-cid/pkg-plist4
7 files changed, 72 insertions, 11 deletions
diff --git a/korean/ftghostscript5/files/patch-ab b/korean/ftghostscript5/files/patch-ab
index 44f89b10475d..47a83c510def 100644
--- a/korean/ftghostscript5/files/patch-ab
+++ b/korean/ftghostscript5/files/patch-ab
@@ -1,6 +1,6 @@
---- 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 @@
+--- gs_init.ps.orig Tue Feb 1 09:29:08 2000
++++ gs_init.ps Tue Feb 1 09:34:09 2000
+@@ -73,7 +73,7 @@
systemdict /.languagelevel known not { /.languagelevel 1 def } if
% Optionally choose a default paper size other than U.S. letter.
@@ -9,7 +9,7 @@
% Turn on array packing for the rest of initialization.
true setpacking
-@@ -1465,3 +1465,20 @@
+@@ -1470,3 +1470,24 @@
(END GC) VMDEBUG
% The interpreter will run the initial procedure (start).
@@ -22,11 +22,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
diff --git a/korean/ghostscript55httf/files/patch-ab b/korean/ghostscript55httf/files/patch-ab
index 44f89b10475d..47a83c510def 100644
--- a/korean/ghostscript55httf/files/patch-ab
+++ b/korean/ghostscript55httf/files/patch-ab
@@ -1,6 +1,6 @@
---- 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 @@
+--- gs_init.ps.orig Tue Feb 1 09:29:08 2000
++++ gs_init.ps Tue Feb 1 09:34:09 2000
+@@ -73,7 +73,7 @@
systemdict /.languagelevel known not { /.languagelevel 1 def } if
% Optionally choose a default paper size other than U.S. letter.
@@ -9,7 +9,7 @@
% Turn on array packing for the rest of initialization.
true setpacking
-@@ -1465,3 +1465,20 @@
+@@ -1470,3 +1470,24 @@
(END GC) VMDEBUG
% The interpreter will run the initial procedure (start).
@@ -22,11 +22,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
diff --git a/korean/munhwafonts-cid/Makefile b/korean/munhwafonts-cid/Makefile
index 6c55f5b4d32c..2864e8d2f160 100644
--- a/korean/munhwafonts-cid/Makefile
+++ b/korean/munhwafonts-cid/Makefile
@@ -18,7 +18,8 @@ MAINTAINER= cjh@kr.freebsd.org
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-extract:
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 --git a/korean/munhwafonts-cid/distinfo b/korean/munhwafonts-cid/distinfo
index 823a13a1175f..930d170e5dca 100644
--- a/korean/munhwafonts-cid/distinfo
+++ b/korean/munhwafonts-cid/distinfo
@@ -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 --git a/korean/munhwafonts-cid/files/Munhwa-Bold-KSC-EUC-H.gsf b/korean/munhwafonts-cid/files/Munhwa-Bold-KSC-EUC-H.gsf
new file mode 100644
index 000000000000..0764e209d689
--- /dev/null
+++ b/korean/munhwafonts-cid/files/Munhwa-Bold-KSC-EUC-H.gsf
@@ -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 --git a/korean/munhwafonts-cid/files/MunhwaGothic-Bold-KSC-EUC-H.gsf b/korean/munhwafonts-cid/files/MunhwaGothic-Bold-KSC-EUC-H.gsf
new file mode 100644
index 000000000000..4786a307f0e1
--- /dev/null
+++ b/korean/munhwafonts-cid/files/MunhwaGothic-Bold-KSC-EUC-H.gsf
@@ -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 --git a/korean/munhwafonts-cid/pkg-plist b/korean/munhwafonts-cid/pkg-plist
index 25803d362cd5..c26f635c5b5e 100644
--- a/korean/munhwafonts-cid/pkg-plist
+++ b/korean/munhwafonts-cid/pkg-plist
@@ -16,8 +16,12 @@ share/ghostscript/fonts/CMap/UniKS-UCS2-H
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