Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Problem with the horizontal alignment of
Phrases in PDFPCells

Bruno

2007-08-09

Replies:

Arvid Sch?nberg wrote:
> The table that has to be
> generated has cells with different text alignments setted by the method
> PDFPCell#setHorizontalAlignment(int). It does work somehow, but the
> result doesn't look like what I expected. The left aligned phrases are
> absolutely fine. The centered and the right aligned phrases on the other
> hand are wrong positioned. The right aligned phrases are nearly
> completely outside their cells.

I have a meeting in a quarter of an hour, but I did a quick
test using the iText version in CVS (it's a version in between
2.0.4 and 2.0.5). I can't reproduce the problem. In attachment
you can find my code and the resulting PDF.
br,
Bruno

Attachment: test.pdf

Attachment: Test.java
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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.