Skip Menu |
 

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

Report information
The Basics
Id: 34215
Status: rejected
Priority: 0/
Queue: PDF-API2

People
Owner: Nobody in particular
Requestors: boronk [...] boronk.de
Cc:
AdminCc:

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



Subject: ImportPageIntoForm and Formimage produces unreadable PDF for adobe acrobat
Download (untitled) / with headers
text/plain 817b
I've tried to add some Vectorgraphics to a PDF document via PDF::API2. I Took an eps, converted it via epstopdf to PDF an attached it with elsif ( $s->imgtype eq "pdf" ) { my $llx; my $lly; my $urx; my $ury; my $src = PDF::API2->open($s->filename); my $srcpage = $src->openpage(1); ($llx, $lly, $urx, $ury) = $srcpage->get_mediabox(); my $dw = $urx - $llx; my $scale=( $s->rectangleSize->width / $dw ); my $xo = $src->importPageIntoForm($src,1); print STDERR "\n" . $s->filename . ":"; print STDERR "($llx, $lly, $urx, $ury) $scale\n"; $gfx->formimage($xo,$x,$y-$s->rectangleSize->height,$scale); #$gfx->formimage($xo,0,0,1); } In addition to that I attached the same way a bitmap. The result did work in KPDF but not in Adobe Reader 7.0 on Linux.
Subject: pdfimg.pdf
Download pdfimg.pdf
application/pdf 7m

Message body not shown because it is not plain text.

Subject: WiKi_Wiki_FeatureTest_Vector.pdf

Message body not shown because it is not plain text.

wont fix bugs releated to pdf modification


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.