There's no docs on the 'clip' function so I'm hoping someone can give me more information. I have a $page->gfx object that I use to put a photo onto the page....
... That would be my block of code from http://www.printaform.com.au/clients/pdfapi2/ .. it's under LGPL so please state that when you distribute it .. and I'm...
... Sorted it out. For the record: # Save the current state of the graphics stream $photo->save; # Create the clipping path for this photo $photo->rect( $left,...
Here's a sample program that shows the bug: use strict; use PDF::API2; my $new = PDF::API2->new(); my $old = PDF::API2->open("soveltamisohje.pdf"); ...
I've written a small module I call PDF::API2Hacks that replaces functions inside PDF::API2 with speedier equivalents. Here's one that uses the scalar IO...
The tutorial formerly found at http://www.printaform.com.au/clients/pdfapi2/ is now at: http://rick.measham.id.au/pdf-api2/ I get one or two emails about this...
... Several computers later, I no longer have a copy of that logo. Does anyone have it any more? The twiki no longer exists .. and even then, I'm not sure the...
... [...] ... sorry, but i dont get such error here it opens fine. fredo -- Schonmal davon gehoert, dass nicht jeder linux user gleich ein programmierer ist,...
hi! i think i have a backup of the wiki somewhere ... will get back at you -- fredo ... -- Schonmal davon gehoert, dass nicht jeder linux user gleich ein ...
I made a Valentines Day card to demo PDF::API2 at the local PerlMongers tonight .. thought I'd share: http://rick.measham.id.au/paste/card.txt Roses are Red ...
... Can you please tell me which version of PDF::API2 you are using? I get this error from the latest CPAN release. The latest CVS seems to have no interesting...
I noticed a change in the default encoding table for Times font. This is great. Ä and Å render now just fine. I think Courier is broken in the same way. Same...
Sorry, but all linked files open fine in Acrobat 7 Pro on Win and OSX. Described operations also working fine w/ latest CPAN release. What Version on what...
... I'm sorry. This was my mistake. I believe I was lead to blame PDF::API2 for use of -l on the perl command line when generating the PDF files. ... See here....
Having found out that GS-ESP has very serious issues on its pdfwrite driver, I have now chosen GS-GPL as the backend server and I need to generate against...
I had a nasty bug while doing: $new->importPageIntoForm(undef, $old->openpage($pagenum)); because there is a hiddenish assumption that the 1st argument is...
... Hash: SHA256 ... [...] ... looks like ghostscript cant cope with a custom "toUnicode Cmap", which enables proper copy/paste in acrobat and friends. ...
... Hash: SHA256 ... applied to cvs cheers, fredo - -- Schonmal davon gehoert, dass nicht jeder linux user gleich ein programmierer ist, der alles, was er...
... Hash: SHA256 ... try this and report again: - ----- #!perl use strict; use PDF::API2; my $pdf = PDF::API2->new(); my $font=$pdf->corefont("Times",...
... Hash: SHA256 ... yet it's a bug in GS rather than in PDF::API2! it would be interesting to see what happens if you preprocess the pdf (with ToUnicode) with...
... It works if I do that. I mentioned earlier that I can workaround the bug by converting to postscript before using the pdfwrite device. So, it seems like it...
We are using an old MS LineDraw font to draw forms, boxes, etc. for each page. This works fine but it seems to take a very long time to add the font object to...
... Try using Devel::DProf on a material worth of a few pages. (Profiling Perl is very slow.) Look at the subroutines that appear to be top time consumers in...
Hello How to import the image with respect to their internal DPI? I use Imager for scaling images, and setting: $src->settag(name => 'i_xres', value => 300); ...
Hello again I decided to import images and then scale it using transform. Results are quite nice, but... In my code I do something like this: $img =...
Resolved... changed this: ... to this: $gfx->image($img, $self->{section}{x}, $self->{section}{y}, $ratio); However, I'm not sure what would happened if I used...
Thanks for the reply. I've tried various dprof runs but none proved meaningful ... to me at least. As you said, I ran only 2-3 pages, but this may mask my...