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

Re: [pygame] sdl_ttf font render failed



Thanks, Marius.. didn't find that.
greetings
simon

On 1/31/07, Marius Gedminas <mgedmin@xxxxxxxx> wrote:
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.


-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFwPh2kVdEXeem148RAgO3AJkB/MfPg7rqfdxSkc4YVKVXwr+jbQCgioGn
HRHIzv51ZD5Zlb7MiCQkw8Y=
=iETx
-----END PGP SIGNATURE-----