Re: flushpage

Ken Sharp <[email protected]> Thu, 16 Nov 2017 21:28:55 +0000
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
At 20:44 16/11/2017 +0000, Michael K wrote:
>It seems that flushpage has been removed or hidden in 9.22.
>
>I haven't found any note that says it was removed but it gives an 
>undefined error when using it in 9.22

A number of non-standard PostScriptextension operators were removed from 
Ghostscript as part of a security hardening exercise.

This is mentioned (briefly) in the main points of the 9.22 release and in 
more detail:

2017-05-11 13:09:29 +0100
Ken Sharp <[email protected]>
1497d65039885a52b598b137dd8622bd4672f9be

     Remove as many non-standard operators as possible

     Remove all the Display PostScript operators and all the NeXT extensions

     Remove all the operators which do not appear to be used in our code

     Remove all the operators which are only used in bound procedures defined
     at startup and which can therefore subsequently be removed.

     The operators to be undefined are stored in arrays in PostScript and
     the C support code is untouched. This means that it is relatively
     simple for an end user to restore an operator if required.

     Operators which are used in our test suite files are listed in the
     arrays but commented out.

     Operators which are used (by our own code) in a way which requires them
     to be present are also listed in the arrays, but commented out.


>What is the way to achieve a flush to the X11 display in 9.22 ?

Well I would have thought showpage would work.



                     Ken