[gs-devel] ps2pdf: issue with encryption and bookmarks

Igor V. Melichev igor.melichev at artifex.com
Wed Mar 3 03:09:19 PST 2004


I confirm a bug in Ghostscript.
Please move further discussion to http://bugs.ghostscript.com/show_bug.cgi?id=687334

Igor.

----- Original Message ----- 
From: "Russell Lang" <gsview at ghostgum.com.au>
To: "Giulio Orsero" <giulioo at pobox.com>; <gs-devel at ghostscript.com>
Sent: Monday, March 01, 2004 1:07 AM
Subject: Re: [gs-devel] ps2pdf: issue with encryption and bookmarks


> On 29 Feb 2004 at 19:14, Giulio Orsero wrote:
> 
> > AFPL 8.14
> > 
> > Test ps page is the one included here
> > http://www.ghostscript.com/pipermail/gs-devel/2002-June/001825.html
> > 
> > ps2pdf page.ps page.pdf -> all is ok, bookmarks visible
> > 
> > ps2pdf -sOwnerPassword=1234 page.ps page.pdf -> bookmarks functional but
> > scrambled (the strings representing them are scrambled, ie weird chars in
> > place of "Page 1 at 100%")
> > 
> > I use Acrobat Viewer 5 on winxp to view pdf files.
> > 
> > Is this some misconfig on my part?
> 
> I get the same result using
>   ps2pdf14 -sOwnerPassword#owner -sUserPassword#user 
>     -dEncryptionR#3 -dKeyLength#128 -dPermissions#-3904 
>       demopdfm.ps out.pdf
> where demopdfm.ps is some hand crafted example code 
> for pdfmark available from
>   http://casper.ghostscript.com/~ghostgum/demopdfm.ps
> 
> Remove the two passwords from the command line above and you get 
> some additional parsing errors when opening in Acrobat 6.
> Is it valid to encrypt something but leave both password empty?
> 
> Russell Lang                   gsview at ghostgum.com.au
> Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/
> 
> 
> _______________________________________________
> gs-devel mailing list
> gs-devel at ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/gs-devel
> 



More information about the gs-devel mailing list