It looks like that error is ultimately coming from the ‘spanish.py’ file (though it is occurring as ‘main.py’ is run). Can you post a screenshot of or copy the contents of spanish.py? It should like:
words = [[u"a partir de", u"from, as of"],
[u"a través de", u"through, across"],
[u"a", u"a, to"],
[u"abajo", u"down, below, downstairs"],
[u"abandonar", u"to abandon"],
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