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

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



On 7/25/06, spotter . <talonspotter@xxxxxxxxx> wrote:
Hi,

I once had an error like that as well. It turned out that it worked
fine if I set the font = None
in the class before def __init__ I dont know if this is something
similar, but I am attaching the code to my Text class if it helps any.

Good luck squashing bugs :)

Thanks for the sample. Unfortunately the code I'm working on is too complex to make that kind of adjustment easily but I have come across other code that is easier to make a modification like that so this should be a good memory sparker.

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