Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I tried to use pyinstaller and I did generate an .exe file. Unfortunately, the text font didn't package. I thought the font was a pygame parameter as I only call it in 

pygame.font.Font('freesansbold.ttf', size)

I didn't install a font and the font isn't in the directory, pygame seems to run fine without it. For some reason the .exe file is looking for it on my computer and I don't know how to fix it.