Bug 690160 - Patterns are not correctly converted in multi-page documents
Summary: Patterns are not correctly converted in multi-page documents
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: 8.63
Hardware: PC Linux
: P4 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 02:05 UTC by Mark de Does
Modified: 2009-08-19 02:01 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
bg.ps: Single page file that results in a usable pdf (8.19 KB, application/postscript)
2008-11-07 02:07 UTC, Mark de Does
Details
bgx.ps: Multi-page file that results in a broken pdf (8.21 KB, application/postscript)
2008-11-07 02:10 UTC, Mark de Does
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark de Does 2008-11-07 02:05:59 UTC
The attached files define and then render patterns.

bg.ps has one page.
bgx.ps is the same file with two additional showpages.

As postscript, the files both render nicely.

When both files are converted to pdf (ps2pdf), the single page pdf 
renders fine. The multi page one makes both acroread and gs stumble.

Acroread complains that it cannot find the patterns on the subsequent pages.
Comment 1 Mark de Does 2008-11-07 02:07:57 UTC
Created attachment 4582 [details]
bg.ps: Single page file that results in a usable pdf
Comment 2 Mark de Does 2008-11-07 02:10:06 UTC
Created attachment 4583 [details]
bgx.ps: Multi-page file that results in a broken pdf
Comment 3 Marcos H. Woehrmann 2008-11-07 09:07:03 UTC
I've duplicated the problem with gs8.54, gs8.63, and gshead (r9202).  The
command line I'm using:

  bin/gs -sDEVICE=pdfwrite -o test.pdf ./bgx.ps
Comment 4 Ken Sharp 2009-08-19 02:01:10 UTC
This now works correctly with the HEAD revision. I suspect the problem was fixed
in revision 9987, patch here :

http://ghostscript.com/pipermail/gs-cvs/2009-August/009691.html