Bug 692304

Summary: PDF/A validation reveals use of DeviceGray with -dUseCIEColor
Product: Ghostscript Reporter: Ken Sharp <ken.sharp>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P1    
Version: master   
Hardware: All   
OS: All   
Customer: 170 Word Size: ---

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