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

@ETHANSIAO Quick follow up: I just now copy-pasted that code on the page you shared with me and ran it on a repl, and sure enough it isn't working. Does this confirm that changing fonts in isn't possible, or is there something I have to do to make this work? Maybe you could share a repl successfully doing so?

My proof:

As you can see, the program clearly isn't giving the output intended. What's going on?