Issue #58 resolved
FontManager.render("") ValueError: NULL pointer access
I assume this isn't intended behavior; it certainly surprised me when I was hoping for an easy way to clear out text in the game I'm working on. SDL2 version 2.0.3, Python 3.3, and PySDL2 0.9.0; demonstrated from the console:
import sdl2 from sdl2.ext import FontManager font = FontManager("C:\\Windows\\Fonts\\Arial.ttf") font.render("Text") # Returns an SDL_Surface object. font.render("") # Raises a "ValueError: NULL pointer access" exception.