Share

PDF::Create

Code

Programming Languages: Perl

License: Artistic License

Repositories

browse code, statistics, last commit on 2001-11-27 cvs -d:pserver:anonymous@perl-pdf.cvs.sourceforge.net:/cvsroot/perl-pdf login

cvs -z3 -d:pserver:anonymous@perl-pdf.cvs.sourceforge.net:/cvsroot/perl-pdf co -P modulename

Show:

What's happening?

  • Comment: Rotated text

    5 years from the original request, I created a simple implementation of rotated text. See patch at http://sourceforge.net/tracker/index.php?func=detail&aid=1857255&group_id=2464&atid=302464.

    2007-12-23 23:33:50 UTC by mchaves

  • Rotated text

    This is a very simple implementation of rotated strings. I added an optional extra parameter to stringc (I just needed rotation on this function). If supplied, the last argument is the rotation angle in degrees. Ex.: 0 is the default orientation and 90 is "north". The use of sprintf to round the sin and cos is ugly, but it works fine - without them, some degrees - like 90 - don't work. The...

    2007-12-23 23:32:58 UTC by mchaves

  • scaled images are not aligned corectly

    the position of scaled images is not calculated correctly in case of a alignment=center. This can be fixed by: if ($xalign == 1) { $xpos-=($img->{width}*$xscale)/2; } elsif ($xalign == 2) { $xpos-=($img->{width}*$xscale); } and: if ($yalign == 1) { $ypos-=($img->{height}*$yscale)/2; } elsif ($yalign == 2) { $ypos-=($img->{height}*$yscale);...

    2007-05-14 09:40:27 UTC by smichel

  • Error output in Create.pm to stdout

    in line 806 the error output shall go to STDERR: print STDERR $image->{error} . "\n";.

    2007-05-14 09:36:38 UTC by smichel

  • Using non-integer version numbers gives corrupt PDF file

    If the page create call: my $pdf = new PDF::Create('filename' => 'mypdf.pdf', 'Version' => 1.2, 'PageMode' => 'UseOutlines', 'Author' => 'Fabien Tassin', 'Title' => 'My title', ); uses a version number which is an exact integer (eg 1) the PDF file created is corrupt. This seems to be because the PDF format demands a n.n version number and the module does...

    2006-03-06 09:31:21 UTC by nobody

  • Incorrect MANIFEST in perl-pdf-0.06.1b release

    The MANIFEST file is apparently wrong, as it contains again a gzipped tar!

    2005-10-17 23:17:09 UTC by eserte

  • editing existing pdf?

    This is a perfect module for creating pdf documents. However, how can I open existing pdf document and add some text, for example add page numbers? Thank you very much to good people on this forum, Misko.

    2005-01-15 00:53:20 UTC by miskomis

  • GIFImage.pm Doesn't Work on Solaris 5.6

    Hello, I install this package on our Solaris 5.6 production machine and the PDFs that get produced seem to bomb out on any page that has a GIF image on it. JPEG images seem to work just fine though. I was just using the sample.pl script to produce the mypdf.pdf sample file. However, when I installed this package on Linux the sample worked great. Any idea why this would be working...

    2004-04-29 16:31:52 UTC by nobody

  • File is damged but is being repaired

    Using Activestate perl on Win2k the pdf documents seem to build fine, but there is an error while opening the documents. (The pdf files are opened OK, the error only appears breifly) This errors occurs on all files created even the demo in the documentation. I am assuming it is due to the bytecount with the different line feeds (cr vs crlf) Has anyone heard of or fixed this one....

    2004-03-28 15:39:49 UTC by nobody

  • Comment: Support for TIFF images

    Add me to the list of people who'd love to see tiff support. The medical community still uses tiff extensively. good work here, thanks!

    2004-03-04 06:54:27 UTC by nobody

Our Numbers