hi!
>The 2 lines of code causing the error are:
>
>my $font = $pdf->corefont( "Helvetica-Bold", 1 );
>$font->encode("latin1");
ah, you have to convert your code to the new 0.40 style:
my $font = $pdf->corefont( "Helvetica-Bold", -encode=>"latin1");
cheers,
--
__ _
/ _|_ __ ___ __| | ___ unix, linux, freebsd
| |_| '__/ _ \/ _` |/ _ \ jpeg, png, gif, ppm
| _| | | __/ (_| | (_) | apache, perl, php, mysql
|_| |_| \___|\__,_|\___/ pdf, ps, abw, html, pod
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
perl-text-pdf-modules-unsubscribe-Km8ibD4bFueDmjp1MlKEbA@xxxxxxxxxxxxxxxx
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/perl-text-pdf-modules/
<*> To unsubscribe from this group, send an email to:
perl-text-pdf-modules-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|