added a few functions for sdl_ttf