Hi, Is there a way determine programmatically how many characters can fit in a PDTextField (non multiline) without the text wrapping to the second line (in cases where max length is not specified by the PDF).
Use case: A PDF has a text field where any number of characters can be input, as the first line wraps to multiple lines. However only the first line prints, as its not a multi line textfield field. I need to prevent such user errors. Ideally, I would like to reduce the font such that the text fits in the fields. If the font gets too low then I would like to detect it and raise an error to the user. Any help, ideas on this would be greatly appreciated.

