Skip Menu |

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

Report information
The Basics
Id: 13241
Status: rejected
Priority: 0/
Queue: PDF-Reuse

People
Owner: larslund [...] cpan.org
Requestors: william [...] knowmad.com
Cc:
AdminCc:

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



Subject: Error while parsing a form - Type 3 font or Pattern
Lars, In one of the templates that I'm using on this project, I get the following error after PDF::Reuse generates the file (the original template opens without error): "Error while parsing a Form, Type 3 font, or Pattern." The generated document will not display at all after clearing this error. Thanks, William
Lars, I forgot to mention that these forms work fine under Linux. I eventually turned on both prDocDir and prLogDir. The prDocDir produced a file while could be opened just fine with no parsing errors. I am using PDF::Reuse through Apache2 with mod_perl. This means that the error lies in how the data is being sent back to browser. I'll be doing some more investigating this afternoon. Any suggestions would be appreciated. Thanks, William
Lars, Good news! I think that I've found the problem with my PDFs and you'll be glad to know that it has nothing to do with your library. As I mentioned in the previous comment, I narrowed the problem down to the transfer from the server to the client. It turns out that the library I was using to stream the file to the client (CGI::Application::Plugin::Stream) was not opening the file in binary mode. I added a binmode function and everything started working perfectly. I suspect this was the cause of the error I reported several months ago so you can close out all of these tickets now. Thanks! William
On Tue Jun 14 09:41:43 2005, guest wrote: Show quoted text
> Lars, > > I forgot to mention that these forms work fine under Linux. I
eventually Show quoted text
> turned on both prDocDir and prLogDir. The prDocDir produced a file
while Show quoted text
> could be opened just fine with no parsing errors. I am using
PDF::Reuse Show quoted text
> through Apache2 with mod_perl. This means that the error lies in how
the Show quoted text
> data is being sent back to browser. I'll be doing some more > investigating this afternoon. Any suggestions would be appreciated. > > Thanks, > William
Rejecting based on report's comment