Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Better way to add text to PDFs?by BigLug (Chaplain) |
on Jul 14, 2005 at 23:16 UTC ( [id://475082]=note: print w/replies, xml ) | Need Help?? |
Your code works for me .. remember from my tutorial that the origin is the lower left, so look there for your text. If you want it anywhere else, then $text->translate($x,$y) before you set your text (in your code, after the fillcolor. If that doesn't work for some strange reason, then let me know what version of PDF::API2 you're using, and any other relevant information.
Cheers!
In Section
Seekers of Perl Wisdom
|
|