Hello iText users!
 
While generating a report with multiple pages I came across the following problem:
The first page of a document initially has a leading of 0, but the following pages will reuse the leading currently set for the previous page. I think that is wrong, it again should start a new page with a leading of 0 (since otherwise my first page differs from the rest of the pages in terms of top inset).
 
Therefore I have changed one of the very last lines in PdfDocument.initPage():
leading = 0;         (instead of leading = oldleading)
 
 
What do you think?
 
 
Kind regards,
Gerald.

Reply via email to