Subject: | Problem with numPages() |
Date: | Thu, 19 Apr 2007 09:25:51 +0200 |
To: | bug-CAM-PDF [...] rt.cpan.org |
From: | Stefano Ruberti <stefano.ruberti [...] iit.cnr.it> |
Hi all,
I've problem with numPages() function about some PDF.
The patterm matching in the PDF.pm file does not recognize the %%EOF
tag at the end of file.
Below I have inserted some of rows of pdf with which I have the problem.
This PDF is readable with the common pdf viewer.
========================================================================
====
endstream^Mendobj^M14 0 obj 44^Mendobj^Mxref^M0 16^M0000000002 65535
f ^M0000000010 00000 n ^M0000000015 00000 f ^M0000000054 00000 n
^M0000000225 00000 n ^M0000000414 00000 n ^M0000000472 00000 n
^M0000000493 00000 n ^M0000045016 00000 n ^M0000045111 00000 n
^M0000045129 00000 n ^M0000045321 00000 n ^M0000045343 00000 n
^M0000085882 00000 n ^M0000085979 00000 n ^M0000000000 00000 f
^Mtrailer^M<</Size 16/Info 3 0 R/Root 1 0 R/ID
[<426b4e2cddd40092805c4c26f7bc0975><cd24770220a794144810bdeb9f9aec89>]
Show quoted text
>>^Mstartxref^M85998^M%%EOF^M%PaperPortPDFversion
========================================================================
====
can You help me please.
Best regards
Stefano
--
---------- -----------
Stefano Ruberti E-Mail: stefano.ruberti@iit.cnr.it
CNR - Istituto di Informatica e Telematica
via G. Moruzzi, 1 Phone: +39 050 3152076
I-56124 PISA Fax: +39 050 3152593
Italy
---------- -----------