text = """This is a really long sentence with a couple of breaks.
Sometimes it will break even if there isn't a break in the sentence, but that's because the text is too long to fit the screen.
It can look strange sometimes.
This function doesn't check if the text is too high to fit on the height of the surface though, so sometimes text will disappear underneath the surface"""
font = pygame.font.SysFont('Arial', 64)
while True:
    dt = clock.tick(FPS) / 1000
for event in pygame.event.get():
    if event.type == pygame.QUIT:
        quit()
screen.fill(pygame.Color('white'))
blit_text(screen, text, (20, 20), font)
pygame.display.update()
Отрисовка текста с несколькими строками в pygame