Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > bcad270e706b49dcd7d3b92dded440f2 > files > 25

ghostscript-8.15.2-9.12.el5_5.src.rpm

diff -up espgs-8.15.2/lib/gs_setpd.ps.setpagedevice espgs-8.15.2/lib/gs_setpd.ps
--- espgs-8.15.2/lib/gs_setpd.ps.setpagedevice	2008-09-01 17:32:21.000000000 +0100
+++ espgs-8.15.2/lib/gs_setpd.ps	2008-09-01 17:33:28.000000000 +0100
@@ -171,10 +171,13 @@ level2dict begin
   % the default policy to "7" (impose) to avoid numerous problems with
   % printing within CUPS...
   %
-  % /PolicyNotFound 1
-  % /PageSize 0
-  /PolicyNotFound 7
-  /PageSize 7
+  NOMEDIAATTRS {
+    /PolicyNotFound 7
+    /PageSize 7
+  } {
+    /PolicyNotFound 1
+    /PageSize 0
+  } ifelse
   /PolicyReport {
     dup /.LockSafetyParams known {
 	% Only possible error is invalidaccess