I’m experiencing an issue with Apache PDFBox version 3 where it seems to add padding or a blank line before rendering text. This was not the case with PDFBox version 2. I have been using the PDPageContentStream class to render text, and the same code that worked perfectly in version 2 now introduces extra spacing in version 3. Has anyone had this sort of problem and please what is the solution?
I have tried various PDPageContentStream methods including setLeading with no luck
7