Determines the maximum width (accounting for newlines) taken by the given string.
width = Font:getWidth( text )
string text
number width