Op 6/03/2012 22:45, Chad Snelson schreef:
I am generating PDFs from TinyMCE HTML using iText. I am seeing extra whitespace at the bottom of the generated PDF pages, but if I reduce the page depth, the bottom line of text gets cut off. I am not using a bottom margin. Is there any way around this issue?
I'm not sure what you mean, but I'm experiencing a similar (annoying) phenomenon. If I use the default CSS, the margin for the <p> tag is defined as "margin: 1em 0".
The 1em causes paragraphs to have a bottom margin as big as the font size.I avoid this by using my own CSS (or by telling iText not to use the default CSS).
I'm not sure if that answers your question (I must admit that I don't understand your question).
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
