Fix bug for TextReader #setFontName.

@andyque merged, thanks.