[pdftex] pdftex-pdfcrypt update

Hans Hagen pragma at wxs.nl
Thu Mar 29 10:10:00 CEST 2001


At 02:33 AM 3/29/01 +0200, Ricardo Sanchez Carmenes wrote:
>On Wed, 28 Mar 2001, Heiko Oberdiek wrote:
>
>> But AR does not know, what is encrypted, and what not, so
>> the files are displayed in a wrong way (I have tested \url with
>> hyperref and thumbpdf (no thumbnails are shown)).
>> If I understand the pdf spec. correctly, either nothing or
>> _all_ have to be encrypted.
>
>You are right. The trouble comes from the fact that some streams or
>some strings that should be encoded are output before pdftex is
>aware that this file must be encoded.
 
I think that flushing data before the crypt flag is set is a macro package
problem, so i don't think that you have to catch that bordercase. You can
consider to disable crypting when the filesize is > 0 before the first
stream is crypted. 

Hans 
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma at wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------




More information about the pdftex mailing list