function GetTextWidth(txt$)

Returns the width of the text if rendered with the current font