Skip Menu |
 

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

Report information
The Basics
Id: 5879
Status: resolved
Priority: 0/
Queue: PDF-API2

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

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



Subject: page->open() corrupts PDF
Download (untitled) / with headers
text/plain 491b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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