Skip to content Skip to sidebar Skip to footer

Using Pygame2exe And Having Font Issue With Sysfont/.ttf

I tried py2exe, cx_freeze and got nowhere with those even using this site, made some progress with pygame2exe. I read the two or three other posts dealing with this, but despite h

Solution 1:

I had this same issue with the default system font. Really quite silly. I ended up using pygame.font.SysFont("Arial", 16) which worked without me having to include anything.

Solution 2:

My workaround for this problem was to copy freesansbold.ttf to my project directory, and to use pygame.font.Font("freesansbold.ttf", 16)

Post a Comment for "Using Pygame2exe And Having Font Issue With Sysfont/.ttf"