Hello,
here an example:
<code>
Table table = new Table(1);
Cell cell = new Cell(new Phrase("texttexttext\ntexttexttext\ntexttexttext",
FontFactory.getFont("Arial",
10,
com.lowagie.text.Font.NORMAL)));
cell.setHorizontalAlignment(Element.ALIGN_LEFT);
cell.setBorder(Rectangle.LEFT);
table.addCell(cell);
</code>
When I do this in iText 1.4.4 the line distance is normal.
The same thing whith iText 2.1.x ==> the distance between the lines in the
cell is much more. MS Word tells me the distance is at least 16 pt.
I hope anyone can imagine what the problem is?
best regards
Marcus
Germany
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar