Hi,
Pygame 1.7.1 on my Ubuntu Linux system is unable to render a space in the
default font, when anti-aliasing is disabled:
>>> import pygame
>>> pygame.version.ver
'1.7.1release'
>>> pygame.font.init()
>>> f = pygame.font.Font(None, 10)
>>> f.render(" ", 0, (255, 255, 255))
Traceback (most recent call last):
File "<stdin>", line 1, in ?
pygame.error: SDL_ttf render failed
Other characters work fine:
>>> f.render("a", 0, (255, 255, 255))
<Surface(4x7x8 SW)>
Space also works if I enable anti-aliasing:
>>> f.render(" ", 1, (255, 255, 255))
<Surface(2x7x32 SW)>
Is this a bug?
Marius Gedminas
--
The IQ of the group is the lowest IQ of a member of
the group divided by the number of people in the group.
Attachment:
signature.asc
Description: Digital signature