added escript bindins for TextRenderer.getTextSize