Bug 563287 - White rectangle on PDF page
Summary: White rectangle on PDF page
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: master
Hardware: All All
: P2 normal
Assignee: Ray Johnston
URL:
Keywords: bountiable
Depends on:
Blocks:
 
Reported: 2002-06-01 06:14 UTC by Alex Cherepanov
Modified: 2008-12-19 08:31 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.