Bug 689924

Summary: Hidden layer is not hidden
Product: Ghostscript Reporter: Leonid Lukomskij <leonidas>
Component: PDF InterpreterAssignee: Alex Cherepanov <alex>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: 8.62   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: tt_p3.pdf

Description Leonid Lukomskij 2008-06-26 10:27:34 UTC
Hello,

I have a file which contains hidden layer. But it is shown in output file:

$ gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=tiff32nc -sOutputFile=tt.tif tt_p3.pdf

GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1

And words "Top secret" are present in output file. I think, this is incorrect.
Acrobat doesn't show this layer. Maybe the best solution is to have an option to
show/hide hidden layers.

This file has one more problem. Output to tiffsep device is incorrect at all.

Thank you

Leond
Comment 1 Leonid Lukomskij 2008-06-26 10:30:49 UTC
Created attachment 4160 [details]
tt_p3.pdf

Problem file
Comment 2 Alex Cherepanov 2008-06-26 12:02:40 UTC
Ghostscript is not broken - it is just old-fashioned. Acrobat Reader 5
shows the same image as Ghostscript.

Ghostscript ignores optional content marks and shows everything like any
other application that predates addition of optional content to the
PDF spec.

Comment 3 Alex Cherepanov 2008-06-27 05:03:03 UTC

*** This bug has been marked as a duplicate of 689289 ***