Is it possible to change fonts on pygame?

I've been attempting to successfully change the font for my game in pygame, but it seems that it's not working.

I'm comepletely open to the idea that I'm just not doing it right, so please feel free to give me some pointers regarding how to change fonts successfully.



You are viewing a single comment. View All

@ArchieMaclean that's not the correct font that it was supposed to display.

Try using the comic sans program, and you'll see it doesn't display comic sans either. The following is an image of what the result is supposed to be:

This repl that exact same code, but it's still the same default font. , and definitely not comic sans, (the image above.) Also notice that it's the result of the repl is the exact same font as what you got, meaning you also got the default text as well, just as I did when I ran that program. What needs to happen for that to change? Or is it simply not possible at the moment?