Shawn Corey wrote:
>On Friday, December 10, 2004, at 11:18 AM, Tim Turner wrote:
>
>
>>Are you trying to center the text? If so, try using text_center and
>>set
>>your x,y coordinate to the point you are centering on. I've used this
>>for a
>>cover page where I want the name of the client centered and it works
>>great.
>>
>>One thing I ran into using text_paragraph that resulted in the words
>>getting
>>jumbled and written over each other... If you don't set the font
>>"lead" then
>>if it is zero it won't go to the next line... It will go down zero
>>after
>>writing and then start writing over what was there... Like a typewriter
>>where you go to a new line without a carriage return... Keeps typing
>>on the
>>same line....
>>
>>Also, can you reproduce the issue? You might want to log all of th
>>variables you list below in the code to your web server error log...
>>And
>>then when this problem occurs see what they are set to. It could be a
>>problem with a special character sneaking in there from manual web
>>entry...
>>Are you "cleaning" the inputs from the web form?
>>
>>Regards,
>>-Tim
>>
>>
>
>I would like to add to Tim's post that there is a bug in the way
>PDF::API2 tracks the position of text in the PDF. The patch is in the
>works but until it is fixed use $text->translate() before each write.
>This will avoid the bug completely.
>
> --- Shawn
>
>
Thank you very much, Tim and Shawn. That gives me some good leads!
Take care,
Kurt
------------------------ 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/
|