1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/print/ghostscript8/files/patch-lib:gs_init.ps
Simon Barner 807d62154b - Fix build on 4-stable when PCL3 driver is enabled [1]
- Update MASTER_SITES for MD2K driver
- Add DMPRT driver
- Add patches necessary for building cups-pstoraster
- Add KRGB support patch for IJS driver

Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Tested by:	Jose M Rodriguez <josemi@freebsd.jazztel.es>
Pointy hat to:	barner [1]
Reported by:	kris via pointyhat [1]
2005-06-10 17:10:07 +00:00

28 lines
1.0 KiB
PostScript

--- lib/gs_init.ps.orig Tue Sep 7 00:40:52 2004
+++ lib/gs_init.ps Tue May 24 22:19:25 2005
@@ -122,6 +122,7 @@
currentdict /DELAYBIND known /DELAYBIND exch def
currentdict /DISKFONTS known /DISKFONTS exch def
currentdict /DOINTERPOLATE .knownget { /INTERPOLATE exch def } if
+currentdict /NOMEDIAATTRS known /NOMEDIAATTRS exch def
currentdict /ESTACKPRINT known /ESTACKPRINT exch def
currentdict /FAKEFONTS known /FAKEFONTS exch def
currentdict /FIXEDMEDIA known /FIXEDMEDIA exch def
@@ -1420,7 +1421,7 @@
% Set the default screen and BG/UCR.
/.setdefaultbgucr {
systemdict /setblackgeneration known {
- { pop 0 } dup setblackgeneration setundercolorremoval
+ {} dup setblackgeneration setundercolorremoval
} if
} bind def
/.useloresscreen { % - .useloresscreen <bool>
@@ -2199,3 +2200,7 @@
ifelse
% The interpreter will run the initial procedure (start).
+
+% unofficial patch:
+% make it possible to print from within acroread pdf viewer
+/Default currenthalftone /Halftone defineresource pop