[pdftex] pdf encryption produces corrupt pdfs when including certain non-corrupt pdfs
woody at switchonline.com.au
woody at switchonline.com.au
Wed May 22 14:17:33 CEST 2002
Hi,
I have maybe found a bug in the pdfcrypt or includepdf routines:
All the pdfs I am trying to include work in acroread and xpdf and ghostview.
This produces a pdf as you'd expect.
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages={1}]{yp_super_investments.pdf}
\end{document}
This produces a pdf which causes several errors in xpdf (below), ghostview (below) and acroread (linux 4 and 5, and windows 4 and 5)
\documentclass{article}
\usepackage{pdfcrypt}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages={1}]{yp_super_investments.pdf}
\end{document}
History of the offending file:
yp_super_investments is yp_super_rollover written over using a perl Text::PDF script yp_rollover_to_investments-percent.pl
yp_super_rollover is a page from mtrust_6.pdf removed using pdflatex and \includepdf
Other files modified/created by Text::PDF seem to have the same issues. (e.g. test.pdf)
I'm happy to be told that the Text::PDF modified/created files are corrupt in some way, provided you tell in
what way they are corrupt.
The mentioned pdf files and perl scripts are at: http://www.vergenet.net/~woody/pdftex/
cheers,
Woody
ghostview errors:
****************Unknown operator: P
****************Unknown operator: <binary stuff>
xpdf errors:
Error (583): Illegal character '>'
Error (583): Unknown operator 'P'
Error (583): Unknown operator '¤`46c
ÈQ˦rf¾rép"àfÂßì¸'
Error (583): Illegal character <ec> in hex string
Error (583): Illegal character <e9> in hex string
Error (583): Illegal character <d3> in hex string
Error (583): Illegal character <fe> in hex string
Error (583): Illegal character <88> in hex string
Error (583): Illegal character <fa> in hex string
Error (583): Illegal character <79> in hex string
Error (583): Illegal character <a7> in hex string
Error (583): Illegal character <a6> in hex string
Error (583): Illegal character <aa> in hex string
Error (583): Illegal character <2b> in hex string
Error (583): Illegal character <18> in hex string
Error (583): Illegal character <b6> in hex string
Error (583): Illegal character <b1> in hex string
Error (583): Illegal character <f5> in hex string
Error (583): Illegal character <c3> in hex string
Error (583): Illegal character <b6> in hex string
Error (583): Illegal character <e0> in hex string
Error (583): Illegal character <94> in hex string
Error (583): Illegal character <7b> in hex string
Error (583): Illegal character <ab> in hex string
Error (583): Illegal character <24> in hex string
Error (583): Illegal character <59> in hex string
Error (583): Illegal character <ac> in hex string
Error (583): Illegal character <93> in hex string
Error (583): Illegal character <d6> in hex string
Error (583): Illegal character <5f> in hex string
Error (583): Illegal character <ea> in hex string
Error (583): Illegal character <6f> in hex string
Error (583): Illegal character <d4> in hex string
Error (583): Illegal character <6c> in hex string
Error (583): Illegal character <ca> in hex string
Error (583): Illegal character <e3> in hex string
Error (583): Illegal character <ea> in hex string
Error (583): Illegal character <f9> in hex string
Error: Unterminated hex string
Error: Unknown operator '+ÓEkÂûý¡MY©ïdèîyÍ#ÍÒ_·Þ!m6ùôýSþö
'
Error: Leftover args in content stream
More information about the pdftex
mailing list