It seems like the default line spacing in iText 7 form fields is 2 or 1.5, but I'd really like to remove the line spacing. Normally, I set line spacing by calling setMultipliedLeading(..)
on a Paragraph
object, but neither PdfAcroForm
nor it's subclass, PdfTextFormField
has this method, and only Strings can be set as the form field value. How do I set the value for line spacing? Thanks in advance.
As per ISO-32000-1 12.7.4.3, you are not able to set leading in an AcroForm.