Hi,
From the editor, it doesn’t look like there is an option to define “best fit” font size to make text fit into a defined space.
This wouldn’t be hard to layer on top if there was a way of knowing if given text, of a given size raised an overflow flag, so you could keep dialing back the size until it fit.
Is there anything I can hook into to get that information? Or would I have to build some sort of in-memory renderer to test out combinations and see what worked?
My use case is to make user-generated text look OK, whether it’s two words or 20 in the same space, and I’m prototyping against a previous model, so can’t really change functionality.
Thanks!