Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Multi-Line Text Alignment

Dennis Racine

2007-07-19

Replies:

Ok, this seems to be a wide spread problem, I'd I'd love to find a solution.
It seems that if you have a multi-line text field in your PDF and populate + flatten it the text ends up moving UP about 4-6 pixels from it's original position. In my case my customer has drawn horizontal lines in their multi-line fields so their dumb customers understand they have multiple lines for their information. Which in this case makes the problem really obvious.
I've tried not only iText, but also pdfTK, CFMX8 and activePDF. the only one that does the multi-line correct is activePDF. Which would be ok, except they can't seem to do ANYTHING else right.
So I'd like to use iText, everything works great except for the multi-line. Is there a way to adjust this to make it correct?

Any help would be great, I'm tired of dealing with activePDF and all their "Sandford & Son Fixes" for things that iText just does correct to begin with :)

I setup a test URL with the 4 methods here: http://ho.racine-web.com/pdf_test.cfm

-- 
----------------------------------
Racine-Web Design
Dennis Racine

Tel. 530-470-8751
Fax (408) 904-4816

website: http://www.racine-web.com
webmaster@racine-web.com


Instant Messangers:
Yahoo: dennis_racine
MSN: dennis_rcracing@hotmail.com (IM Only)
AIM: DRacine33E
ICQ: 967354


----------------------------------

Attachment: dennis.vcf
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.