James Rowland wrote:
> I have some fairly straight forward code that creates a PdfPTable and 
> adds several PdfPCells. When I generate the document to PDF on a mac, 
> the contents of the cells wrap properly but when I generate the same PDF 
> on a windows machine, the cells do not wrap and the content extends into 
> the other cells.

I have never seen this behavior before.
All examples that are available on 1t3xt.info
are compiled and executed on Windows and Fedora Linux.

Maybe it's something very trivial.
You'd be surprised how many times I thought something
didn't work, while in fact I was deploying my code to
the wrong place.

Maybe you have had a version with setNoWrap(true) at
some point, and maybe you're always trying that version
on Windows... Did you check the timestamp of the class
file on Windows? Maybe the version of the class on Windows
is different from the version of the class on Mac...

I think it's a human error. It would surprise me if
it was an iText problem. Otherwise: please provide us
with a standalone example that we can compile and execute
on our machines.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to