Does anyone have some tips for drawing wrapped text inside an arbitrary path?
The Graphics class has drawFittedText(), which makes use of the GlyphArrangement class to draw wrapped text inside of a rectangle. It works great, but only handles rectangles.
I'm looking for a way to draw wrapped text inside an arbitrary path. Let's start with an oval, since concave paths could get very complicated. Is there anything in JUCE that might help me with this? I can understand that this could be considered outside the scope of the JUCE library, but before I go looking elswhere I thought I'd ask.
Just to be clear, I don't want the text to follow a path (although that would be fun too), but to fit inside it, like this: