Participant
November 28, 2022
Question
How to programmatically set the font size to "auto"?
- November 28, 2022
- 3 replies
- 2613 views
Hello,
I'd like to implement a PDF form filler that supports text auto-sizing/shrinking. Is there a syntax for natively setting the font size to auto? I've tried: '/Helv 0 Tf'' but get quirky behaviors - the inputted text is there but it doesn't show up in screen. I'm only able to see the text after clicking into the text box in my PDF viewer.
Any advice? Attached is an animated GIF of the behaviors.
Thank you.
