Skip Menu |

This queue is for tickets about the Text-PDF CPAN distribution.

Report information
The Basics
Id: 40340
Status: new
Priority: 0/
Queue: Text-PDF

People
Owner: Nobody in particular
Requestors: Richard.Ostermayr [...] dpma.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Problem opening large files
Date: Fri, 24 Oct 2008 10:28:11 +0200
To: <bug-Text-PDF [...] rt.cpan.org>
From: "Ostermayr Richard Dr." <Richard.Ostermayr [...] dpma.de>
Hi, We have encountered a problem with Text::PDF::File->open when the size of the PDF file exceeds about 32 MB. In this case the module hangs at the recursive call of sub readxrtr. We could circumvent the problem by removing the recursive call in sub readxrtr: # $tdict->{' prev'} = $self->readxrtr($tdict->{'Prev'}->val) # if (defined $tdict->{'Prev'} && $tdict->{'Prev'}->val != 0); For our purposes (appending to the PDF a small piece of Acrobat javascript) this workaround did the job. My OS: Windows server Perl version: 5.8.8 Module version: 0.29a Any explanations or comments are welcome. Best regards Richard Ostermayr