drawFittedText() problem


#1

Hello,
drawFittedText() shows a strange behaviour. I’m using the code below.

g.drawFittedText( patch->getName(), x, y, w, h, Justification::centredLeft, 2, // use up to 2 lines 1.0f); // no shrinking
The name for patch ‘237’ is "Motif Co Sequencer 1" while for patch ‘238’ is "Motif Co Sequencer 1+"
I think you can see from the attached image what I am talking about. The available space is shown by the borders.


#2

Thanks, that does seem to be getting it wrong! I’ll fix that right away…


#3