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

Report information
The Basics
Id:
5879
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
matthias.flury [...] mytecnet.com
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
  • 0.3r77
  • 0.40_14
  • 0.40_15
  • 0.40_16
Fixed in:
(no value)



Subject: page->open() corrupts PDF
The problem is, that if a 'Rotate' of 270 is set in the pdf then the pdf was empty after a $pdf->update . It was not realy empty but the content was rotatet out of the mediabox. The error and the solution are: File API2.pm line 725 original : elsif($rotate==270) { $trans="-1 0 0 -1 $media->[3] 0 cm" if($mediatype eq 'MediaBox'); corrected is must be: elsif($rotate==270) { $trans=" 0 1 -1 0 $media->[3] 0 cm" if($mediatype eq 'MediaBox'); With this fix it's ok Greetings Matthias


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.