Skip Menu |

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

Report information
The Basics
Id: 11324
Status: resolved
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: Illegal operation 'BT' inside a text object
Hi Lars, Thanks for making PDF::Reuse available. I've recently started using it for a client and its been working nicely. The tutorial was most helpful. Just today though, when generating a PDF file from a two-page template, I have discovered that some input will cause a series of errors when opening the generated file using Adobe 5.0 or 6.0. I am using ActiveState Perl 5.8.x with PDF::Reuse 0.29. When the error occurs, first there is a brief Rebuild notice which disappears on its own and is followed by the following three dialog boxes: There was an error processing a page. Too few operands. OK An unrecognized token 'T.' was found. OK Illegal operation 'BT' inside a text object. OK The file is then opened but the first page is blank. If I try to open the PDF file using another viewer such as GPDF, both pages will open successfully but none of the inserted data will appear on the first page. Even more peculiar, this error only seems to occur when inputting a 12 character string that begins with an 'S' (e.g., 'Step Wingate' fails but 'Utep Wingate' as well as 'Steph Wingate' works) and only under Win32. I found a tech doc[1] at Adobe's website which documented these errors but was not sufficient to resolve my issue. I am going to try to create a test script which can replicate this error. Hopefully, you can test under Win32. Thanks, William [1] http://www.adobe.com/support/techdocs/322743.html
Hi William, Could you send me a copy of your templates (or similar ones if they are sensitive for some reason) and the code which caused the error, and I can look at it this weekend. You can send it to elkelund@worldonline.se Best Regards Lars Lundberg [guest - Tue Feb 1 15:42:41 2005]: Show quoted text
> Hi Lars, > > Thanks for making PDF::Reuse available. I've recently started using it > for a client and its been working nicely. The tutorial was most > helpful. > > Just today though, when generating a PDF file from a two-page > template, I have discovered that some input will cause a series of > errors when opening the generated file using Adobe 5.0 or 6.0. I am > using ActiveState Perl 5.8.x with PDF::Reuse 0.29. > > When the error occurs, first there is a brief Rebuild notice which > disappears on its own and is followed by the following three dialog > boxes: > > There was an error processing a page. Too few operands. > OK > > An unrecognized token 'T.' was found. > OK > > Illegal operation 'BT' inside a text object. > OK > > The file is then opened but the first page is blank. If I try to open > the PDF file using another viewer such as GPDF, both pages will > open successfully but none of the inserted data will appear on the > first page. > > Even more peculiar, this error only seems to occur when inputting a 12 > character string that begins with an 'S' (e.g., 'Step Wingate' > fails but 'Utep Wingate' as well as 'Steph Wingate' works) and only > under Win32. > > I found a tech doc[1] at Adobe's website which documented these errors > but was not sufficient to resolve my issue. I am going to try to > create a test script which can replicate this error. Hopefully, you > can test under Win32. > > > Thanks, > William > > [1] http://www.adobe.com/support/techdocs/322743.html