Updated the 2d text rendering utility and example