I want to set the text field font size to adjust automatically with a maximum limit of font size 9
Hi,
I have the option to set the font size to auto, which will adjust the font size automatically based on the text content in text fields (used in prepay forms). Alternatively, I can manually set the font size to 9 or any specific value. However, what I specifically need is to set the font size to adjust automatically within a range, with the maximum font size capped at 9. This means that the font size will automatically adjust between 1 and 9, depending on the content.
I require this functionality because sometimes I have a large multi-line text field with only a short text, such as "Hi". In such cases, the text appears excessively large on the PDF, which looks unattractive. Therefore, I want to ensure that even for short text like "Hi", the font size remains at or below 9.
