I have a project in Pygame 1.9.2 where I reinitialize the display multiple times, and draw text to the display surface. It works fine until I close the Pygame display and r
I found a solution that worked for me: just delete the font element before calling pygame.display.quit()
, ie just del font
every time you're done using it.
The font element is the one you created using the command:
font.SysFont("Comic Sans MS", 12)
but that I personally create using pygame.font.Font(None, font_size)