mjg / rpms / ghostscript

Forked from rpms/ghostscript 3 years ago
Clone
558c2d4
diff -up ghostscript-9.22/Resource/Init/gs_init.ps.restore-flushpage ghostscript-9.22/Resource/Init/gs_init.ps
558c2d4
--- ghostscript-9.22/Resource/Init/gs_init.ps.restore-flushpage	2017-11-29 14:58:35.449534983 -0500
558c2d4
+++ ghostscript-9.22/Resource/Init/gs_init.ps	2017-11-29 14:59:25.903397616 -0500
558c2d4
@@ -2163,7 +2163,7 @@ SAFER { .setsafeglobal } if
558c2d4
 /.type1execchar /.type2execchar /.type42execchar /.setweightvector /.getuseciecolor /processcolors /.includecolorspace
558c2d4
 /.execn /.instopped /.stop /.stopped /.setcolorrendering /.setdevicecolorrendering /.buildcolorrendering1 /.builddevicecolorrendering1
558c2d4
 /.TransformPQR_scale_WB0 /.TransformPQR_scale_WB1 /.TransformPQR_scale_WB2 /.currentoverprintmode /.copydevice2
558c2d4
-/.devicename /.doneshowpage /flushpage /.getbitsrect /.getdevice /.getdefaultdevice /.getdeviceparams /.gethardwareparams
558c2d4
+/.devicename /.doneshowpage /.getbitsrect /.getdevice /.getdefaultdevice /.getdeviceparams /.gethardwareparams
558c2d4
 /makewordimagedevice /.outputpage /.putdeviceparams /.setdevice /.currentshowpagecount
558c2d4
 /.setpagedevice /.currentpagedevice /.knownundef /.setmaxlength /.rectappend /.initialize_dsc_parser /.parse_dsc_comments
558c2d4
 /.fillCIDMap /.fillIdentityCIDMap /.buildcmap /.filenamelistseparator /.libfile /.getfilename
558c2d4
@@ -2181,6 +2181,15 @@ SAFER { .setsafeglobal } if
558c2d4
 /.systemvmSFD /.settrapparams /.currentsystemparams /.currentuserparams /.getsystemparam /.getuserparam /.setsystemparams /.setuserparams
558c2d4
 /.checkpassword /.locale_to_utf8 /.currentglobal /.gcheck /.imagepath
558c2d4
 
558c2d4
+% Used by a free user in the Library of Congress. Apparently this is used to
558c2d4
+% draw a partial page, which is then filled in by the results of a barcode
558c2d4
+% scanner and SQL database lookup. Its not clear to us exactly why this needs to be
558c2d4
+% done as a partial page, but its easiest to restore the operator, and it seems like
558c2d4
+% its a reasonably safe operator to restore, for the *very* few devices on which
558c2d4
+% it will have any effect. Currently this uses the 'sync_outptu' device method
558c2d4
+% to transfer the partial page, in future we may use a spec_op instead.
558c2d4
+%/flushpage
558c2d4
+
558c2d4
 % Used by our own test suite files
558c2d4
 %/.fileposition %image-qa.ps
558c2d4
 %/.makeoperator /.setCPSImode % gs_cet.ps