[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.error: SDL_ttf render failed



On 7/25/06, Peter Shinners <pete@xxxxxxxxxxxx> wrote:
Try turning on the antialiasing? I've seen cases where the smoothed font
rendering works but the simple fails. This is some problem with SDL_ttf
or freetype.

Ah. That makes it work.

> One other issue I have noticed is that pygame.init() takes forever to
> load (whether solar wolf or some of the pygame demos).

This is probably from SDL trying to probe the different sound and video
backends. It's usually fast, but it is finding some sort of partial
match that slows it down. Try setting the environment vars
SDL_VIDEODRIVER and SDL_AUDIODRIVER to the modes you are using.
http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fenvvars

Strange. I re-installed pygame for the fifth time and that problem went away. I have a feeling the link will prove usefull later though. Thanks! Joe

--
All Your Base Are Belong To Us!!! chown -r us ./base

"After three days without programming, life becomes meaningless.'' --
Tao of Programming Book 2