I just checked whether this issue was still relevant, and it seems to have been fixed in this commit:
I tested by adding the following code to a resizable component:
void paint (Graphics& g) override
{
auto b = getLocalBounds();
g.setColour (juce::Colours::white);
g.drawFittedText ("this is a long string which will compress and squish and stuff like that", b.removeFromTop (30), juce::Justification::left, 1);
g.drawSingleLineText ("some text is here", 0, getHeight() / 2);
g.drawText ("this is another line", b.removeFromTop (30), juce::Justification::left);
}
If you’re still seeing incorrect rendering, please could you provide a code example (preferably a PIP or similar) which demonstrates the problem? In the meantime, I’m considering this issue closed.