Bug 692304 - PDF/A validation reveals use of DeviceGray with -dUseCIEColor
Summary: PDF/A validation reveals use of DeviceGray with -dUseCIEColor
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: master
Hardware: All All
: P1 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 13:23 UTC by Ken Sharp
Modified: 2011-11-25 04:19 UTC (History)
0 users

See Also:
Customer: 170
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Sharp 2011-06-27 13:23:14 UTC
Since some point after the adoption of ICC colour prfiles, if we set -dUseCIEColor for pdfwrite then we get a PDF file which includes a '0 g' at the end of each page.

This is caused by the showpage doing an erasepage by filling an empty path.

Because of the way that this is reflected in pdfwrite, we end up setting DeviceGray. We don't use it, but we do set it, and this can cause PDF/A validators to complain, because DeviceGray is only valid if we have set an OutputProfile.
Comment 1 Ken Sharp 2011-06-27 13:53:22 UTC
Fixed in revision 58292c6:

http://ghostscript.com/pipermail/gs-cvs/2011-June/013045.html