I found that disabling the line: " cell.setPaddingTop(-3); " resolves the issue, but then the padding at the top is too high for me.
Moreover... I wanted to do the counting of the cellheight to an actual Element being used directly in the main table, so initially I added the PdfPCells to a sub PfdPTable, count its height and add the tables to the main table. However that results in the problem of having borders around the subtable, eventhough I set the cells not to have borders. I didn't find a means of removing them, as they seem to be associated with the tables. So I wrapped the cells in dummy tables with the same characteristics of the main table, count the height of the dummy table and add the cell to the main table instead of the dummy table. How should I resolve this, because as I'm told previously, that's not very robust coding. Thanks -- View this message in context: http://itext-general.2136553.n4.nabble.com/Paragraph-negative-spacing-weirdness-in-PdfPTables-tp2245863p2247702.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/