[Gs-code-review] Re: [ ghostscript-Bugs-516379 ] .setsafe disables ViewerPreProcess
L. Peter Deutsch
ghost at aladdin.com
Tue Feb 12 16:35:51 PST 2002
> Let me ask an obvious question: The setpagedevice operator is not
> supposed to be cumulative. Is the .putdeviceparams operator different?
> Why is the ViewerPreProcess value being changed?
setpagedevice *is* cumulative according to the specification. But because
of interactions between parameters, the PostScript code in gs_setpd.ps
always presents the *entire* set of parameters to .putdeviceparams -- i.e.,
it reads the current parameters, modifies the ones in the setpagedevice
dictionary, and then sets all of them at once.
--
L. Peter Deutsch | Aladdin Enterprises | 203 Santa Margarita Ave.
ghost at aladdin.com | http://www.aladdin.com | Menlo Park, CA 94025
The future of software is at http://www.opensource.org
More information about the gs-code-review
mailing list