Bug 691636 - pdf file with distiller security settings is rendered incorrectly by ghostscript
Summary: pdf file with distiller security settings is rendered incorrectly by ghostscript
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: 0.00
Hardware: PC Windows XP
: P4 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 15:00 UTC by Heiko
Modified: 2010-10-05 13:59 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
A zip with all mentioned files. (164.28 KB, application/zip)
2010-09-21 15:00 UTC, Heiko
Details
patch (487 bytes, patch)
2010-10-05 13:59 UTC, Alex Cherepanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko 2010-09-21 15:00:28 UTC
Created attachment 6741 [details]
A zip with all mentioned files.

A pdf file distilled with Distiller security settings is rendered incorrectly by ghostscript.

The same file is rendered correctly when it is distilled without security.

I verified with Distiller 6.0.1 and Distiller 8.1.0 and with 128 bit and 40 bit encryption.

I tested ghostscript 8.63, 8.70, 8.71 and 9.00 (all on Windows XP).

The secured pdf file is rendered correctly by Adobe Reader 8 and 9 and also by SumatraPDF, Foxit Reader, Mupdf and PDF Xchange Viewer and even Evince and KDE 4/Okular (all on Windows XP).

The password for the secured pdf file is "secret" (without the double quotes).

Please see attached ZIP file with:

folder.joboptions            - Adobe Distiller settings

security_settings.png        - Adobe Distiller security settings

Stellenanzeige.ps            - the original PostScript file

Stellenanzeige_secured.pdf   - pdf file created by Distiller with security on

Stellenanzeige_secured.png   - how the pdf file is rendered

Stellenanzeige_unsecured.pdf - pdf file created by Distiller with security off
Comment 1 Alex Cherepanov 2010-10-05 13:59:03 UTC
Created attachment 6780 [details]
patch

Add missing decoding of #nn escape to encrypted PDF reader. Besides fixing the
bug sample file, this patch also corrects a colorant name in IA3Z0440.pdf on
psdcmyk device.
Comment 2 Alex Cherepanov 2010-10-05 13:59:58 UTC
The patch has been committed as a rev. 11756.