Participant
Nov 28, 2022 11:43 PM UTC
Question
How to programmatically set the font size to "auto"?
- 10 replies
- 2673 views
- Translate
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.
