So I've been making a game using Pygame, and I want to send it over to a friend. I've been trying to use Pyinstaller to turn it into an exe file and sending it over to him. When I make the exe file I'll test it and it'll work fine on my computer, but when I send it over to him he says that all it does is open a black screen and then close automatically. After a lot of tests and checks, I've finally figured out the issue is with the fonts, and this is the line that keeps on breaking:
font = pygame.font.SysFont("arjulianopentype", 40)
I've tried to have sysfont.py added as a hidden import, but that didn't work, and the only other thread I've seen remotely close to the problem I have is this one, but it doesn't have a real answer that helps. So can someone please tell me what I'm missing and/ or doing wrong? I would really appreciate the help, thank you!