The font is defined in the line 30 of the mode 1-new-flash-cards:font = pygame.freetype.Font(etc.mode_root + "/font.ttf", size)
You have to place the *.ttf file of your font in the modes directory then then change the file name in line 30

The font is defined in the line 30 of the mode 1-new-flash-cards:font = pygame.freetype.Font(etc.mode_root + "/font.ttf", size)
You have to place the *.ttf file of your font in the modes directory then then change the file name in line 30

…you could also just rename the *.ttf file to ‘font.ttf’ so you wouldn’t have to modify the code…