When displaying a PDF file with Ghostscript 8.64, a hidden layer is showing.
Alex, How do I send an example?
Eli, go to the bug page and press 'Create a New Attachement'.
Created attachment 5213 [details] CS3_PTC all layers 2.pdf If you open this file with Adobe Reader, you will not see a red X. This red X is visible when displaying the file with Ghostscript.
Ghostscript doesn't support optional content yet. Old versions of Acrobat Reader(e.g AR5) also show the cross. The problem with optional content is that Ghostscript cannot just skip optional objects. It has to update the graphic state but not display anything.
Support for optional content is an enhancement.
One of our customers has asked for this feature as well. I've added their customer number to this bug and increased the priority.
Actually this customer is P1.
*** Bug 689289 has been marked as a duplicate of this bug. ***
Created attachment 5679 [details] patch Handle optional content following the default viewing optional content configuration dictionary, Skip invisible XObjects and render invisible parts of content streams to nulldevice. Since pdfwrite device is not yet ready for optional content, all information about optional content is removed. Visible objects are merged in, invisible objects and associated structures are discarded. This patch hides invisible object in all sample files in this and duplicate bug reports. Testing also shows progression in BFAX35P5.pdf.
The patch has been committed as a rev. 10341. Regression testing shows progressions in BFAX35P5.pdf and Bug689290.pdf .
Changing customer bugs that have been resolved more than a year ago to closed.