optimalFontSize returns height of rect passed in if there's a current font style.