drawFittedText horizontal scale memory


I found that on OS X (CoreGraphicsContext) that drawFittedText affects the horizontal scale for later drawText calls.

Using "Font font = g.getCurrentFont();" around "g.setFont(font);" works around the problem.

CoreGraphicsContext::setFont gets called within drawFittedText and saves the squished font in state->font, which is used in later calls of drawText.


Thanks - I'll figure out a workaround for that! (I'll need to find something more efficient than just saving and restoring the font each time)