See the attached file "SF1152.pdf" and locate the "Bureau" field. If you open this document in Acrobat the font size shows as Auto and functions as such in Acrobat/Acrobat Reader. However, PDFBox thinks the font size is set to 9. I confirmed this in both PDFDebugger and in our rendering code.
The second attachment "TestSF1152-LL.pdf" shows the behavior from PDFBox not picking up the correct Auto font size. The value is truncated unless you click inside the field or delete the value and replace it.
The following code shows the problem:
If I manually set the font size to auto using:
the PDF renders correctly.
But we shouldn't have to manipulate font sizes in code when it's set correctly in the PDF.