[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Default Font Not Found
Kris Schnee wrote:
According to
my notes I've faced this problem before, and dealt with it by copying
freesansbold.ttf from the Windows directory to the \dist directory of my
game. But this time that had no effect!
I had this exact problem. Copying the font file into the dist directory
no longer worked. To solve it, I loaded the font file directly by name.
For example,
font = pygame.font.Font("freesansbold.ttf", 17)
Aaron