Bug 563287

Summary: White rectangle on PDF page
Product: Ghostscript Reporter: Alex Cherepanov <alex>
Component: PDF WriterAssignee: Ray Johnston <ray.johnston>
Status: NOTIFIED FIXED    
Severity: normal Keywords: bountiable
Priority: P2    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---

Description Alex Cherepanov 2002-06-01 06:14:51 UTC
Originally reported by: alexcher@users.sourceforge.net
When the file attached is converted to PDF by GS 7.21 the
1st page appears empty because it is overwritten by a
big white rectangle. There's no such rectangle in PS file.
Comment 1 Alex Cherepanov 2002-08-19 04:57:55 UTC
Comment originally by alexcher@users.sourceforge.net
Logged In: YES 
user_id=65750

This happens because the restored page device initializes
the graphic state. 

%!
save
0 0 moveto
612 792 lineto stroke
<</AutoRotatePages /None >> setdistillerparams
restore
showpage
Comment 2 Ray Johnston 2004-01-13 22:49:34 UTC
The patch:

http://www.ghostscript.com/pipermail/gs-cvs/2004-January/004000.html

changes the setdistillerparams function to make sure that the pagedevice
is not reset or erased.