Re: PyGame font issues

2009-04-28 Thread Evan Kroske
Peter Chant wrote: Chaps, I have the following code: if pygame.font: font = pygame.font.Font(None, 36) #font = pygame.font.Font('liberationserif',36) text = font.render("Esc to quit.", 1, (10, 10, 10)) textpos = text.get_rect() textpos.centerx = background.get_rect().centerx

PyGame font issues

2009-04-27 Thread Peter Chant
Chaps, I have the following code: if pygame.font: font = pygame.font.Font(None, 36) #font = pygame.font.Font('liberationserif',36) text = font.render("Esc to quit.", 1, (10, 10, 10)) textpos = text.get_rect() textpos.centerx = background.get_rect().centerx background.blit(