aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript8/files/patch-lib:gs_init.ps
blob: 22d48fd7989668ef3a2bee2518b558d401ffe3b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- 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