I’m painting a multiline string with
g.drawFittedText(message, b, Justification::topLeft, 1); and getting the following result :
The red background is being filled with
I would have expected that I would only see 1 line given the 4th parameter to
drawFittedText (I set that like that as a test), and also that the text would be constrained to the bounds.
Using JUCE 5.4.1 on master. I also tried without setting a custom font in case something screwy was happening there.
Is this a bug or have I made a dumb mistake/faulty assumption?