summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu/files/patch-lib:gs_cidfn.ps
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-09-05 19:41:48 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-09-05 19:41:48 +0000
commit6e0909e045a068d899c6347684796ba545f7202e (patch)
treee79848665db740cc8788eb18695e78e172bdef35 /print/ghostscript-gnu/files/patch-lib:gs_cidfn.ps
parentUpgrade to snapshot 2008.09.05 (SVN revision 73). (diff)
* print/ghostscript-* and related ports have been renamed in the
following way: print/ghostscript-gnu -> print/ghostscript7 print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11 print/ghostscript-gnu-commfont -> print/ghostscript7-commfont print/ghostscript-gpl -> print/ghostscript8 print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11 japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont * USE_GHOSTSCRIPT now supports a version number which the port requires. The valid value is "7" or "8". If other value is specified, value of WITH_GHOSTSCRIPT_VER is used. * WITH_GHOSTSCRIPT_GNU has been removed in favor of WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is "7" or "8", and the default value is "8". Approved by: portmgr (pav)
Diffstat (limited to 'print/ghostscript-gnu/files/patch-lib:gs_cidfn.ps')
-rw-r--r--print/ghostscript-gnu/files/patch-lib:gs_cidfn.ps51
1 files changed, 0 insertions, 51 deletions
diff --git a/print/ghostscript-gnu/files/patch-lib:gs_cidfn.ps b/print/ghostscript-gnu/files/patch-lib:gs_cidfn.ps
deleted file mode 100644
index 98a763bf9b23..000000000000
--- a/print/ghostscript-gnu/files/patch-lib:gs_cidfn.ps
+++ /dev/null
@@ -1,51 +0,0 @@
---- lib/gs_cidfn.ps.org 2003-04-12 23:02:38.000000000 +0900
-+++ lib/gs_cidfn.ps 2003-09-03 07:28:28.000000000 +0900
-@@ -511,9 +511,32 @@
-
- .loadinitialcidfonts
-
-+% <fontname> <font> .RenameFontForNeverEmbed <fontname> <font'>
-+/.RenameFontForNeverEmbed {
-+ /DEVICE where { pop DEVICE (pdfwrite) eq {
-+ currentdistillerparams /NeverEmbed get {
-+ 2 index eq {
-+ (*** unembeddable CIDFont: ) print 1 index == flush
-+ dup length 1 add dict copy
-+ dup /FID undef
-+ dup /.orig_CIDFontName 1 index /CIDFontName get put
-+ dup /CIDFontName 3 index dup type /stringtype eq {
-+ dup rcheck {
-+ dup length string 0 1 2 index length 1 sub {
-+ 2 index 1 index get 3 copy put pop pop
-+ } for exch pop
-+ } if
-+ } if put
-+ dup /FontName 1 index /CIDFontName get put
-+ } if
-+ } forall
-+ } if } if
-+} bind def
-+
- /CIDFontmapHandler <<
- /nametype {
- /CIDFont findresource
-+ .RenameFontForNeverEmbed
- /CIDFont defineresource pop
- } bind
- /stringtype {
-@@ -528,6 +551,7 @@
- pop pop
- } {
- % Give a name different from the name defined in the file
-+ .RenameFontForNeverEmbed
- /CIDFont defineresource pop
- } ifelse
- } {
-@@ -546,6 +570,7 @@
- 3 -1 roll put
- % Expand array
- aload pop .loadcjkvttcidfont
-+ .RenameFontForNeverEmbed
- /CIDFont defineresource pop
- } {
- /undefinedresource signalerror