IText - text disappears from PDF

Viewed 92

I'm using IText (version 7.1.10) to generate a PDF. Some texts disappears from the PDF. I have tried to debug but can't find where it disappears. I post the question here to see if anybody has encountered the same problem. Is this a known bug in IText?

I have entered the texts below in the same field. The following string disappears from the PDF:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

The following string is displayed in the PDF:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

These strings are written to a com.itextpdf.layout.element.Text object inside a com.itextpdf.layout.element.Paragraph object.

0 Answers
Related