ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-web
perl-win32-web
Perl PDF having problems with acrobat version 8
by Ben Eagle other posts by this author
Jan 15 2007 5:29AM messages near this date
view in the new Beta List Site
Re: HTTP request arguments/content | Re: Perl PDF having problems with acrobat version 8
I made a PDF using PDF::API2, it works fine I put all the text where
they should be and in acrobat 7 and below works fine, but in acrobat 8
all the text gets pushed to the right.

 

This is a real big problem for my client, and I am not sure how it can
be fixed

 

Any Ideas?

 

Also, using PDF::API2 & PDF::Table, there is a text_block function that
should be able to create paragraphs and text blocks, however I can't get
it to work, has anyone used this or know how to I can't find any
documentation that clearly explains it.

 

 

($width_of_last_line, $ypos_of_last_line, $left_over_text) =
$pdftable-> text_block(

    $txt,

#  $text_to_place,

    -x        =>  $left_edge_of_block,

    -y        =>  $baseline_of_first_line,

    -w        =>  $width_of_block,

    -h        =>  $height_of_block,

   [-lead     =>  $font_size * 1.2 | $distance_between_lines,]

   [-parspace =>  0 | $extra_distance_between_paragraphs,]

   [-align    =>  "left|right|center|justify|fulljustify",]

   [-hang     =>  $optional_hanging_indent,]

 );

 

this is all the examples has though I still can't get it to work, Help
Please.
Thread:
Ben Eagle
David Landgren

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved