Skip Menu |

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

Report information
The Basics
Id: 64368
Status: resolved
Priority: 0/
Queue: CAM-PDF

People
Owner: Nobody in particular
Requestors: bscullin [...] keystoneinsgrp.com
Cc:
AdminCc:

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



Subject: Landscape
Date: Fri, 31 Dec 2010 20:13:11 +0000
To: "bug-CAM-PDF [...] rt.cpan.org" <bug-CAM-PDF [...] rt.cpan.org>
From: Bob Scullin <bscullin [...] keystoneinsgrp.com>
CAM::PDF Version 1.52 First. Awesome modules. Thank you! The possible bug: CAM::PDF doesn't seem to handle landscape documents properly. If a text field 3/8in high by 4in long in a landscape document, only the first 3/8in of the text populated by fillFormField will be displayed. The rest of the 3 5/8in long box will be empty. By increasing the height of the field and repopulating it, I can increase the amount of text shown width-wise. Knowing this, I created a copy of the fillFormField subroutine, called it fillFormFieldLandscape, and flip-flopped $dx and $dy. This solved the display problem and I thought I had a full work around. Upon printing the landscape document, I found the field values were printed 90 degrees clockwise as if they were portrait. All other text was printed properly in landscape format. I believe the text needs reoriented in the subroutine, but have not figured this out yet. Thanks, Bob Scullin This email may contain privileged and confidential information and is solely for the use of the sender's intended recipient(s). If you received this email in error, please notify the sender by reply email and delete all copies and attachments. Thank you.
Closed as per Bob's request in RT #64555. Thanks.