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

Re: [pygame] sdl_ttf font render failed



On Wed, Jan 31, 2007 at 03:42:37PM +0100, Simon Oberhammer wrote:
> hi pygamers,
> whenever I use font.render() with the antialias param set to False I
> get this error:
> 
>  File "pysssi_dist.py", line 258, in printf
>    s = self.print_font.render( str,False,self.color1)
> pygame.error: SDL_ttf render failed

Actually, you only get this if you call font.render with a string that
contains a space character, and with antialias set to False.

Seems to be a known bug in the SDL_ttf version that is in Ubuntu.

Marius Gedminas
-- 
Always proofread carefully to see if you any words out.

Attachment: signature.asc
Description: Digital signature