Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error - font file name #1

Open
casey-ac opened this issue Jun 10, 2020 · 0 comments
Open

Error - font file name #1

casey-ac opened this issue Jun 10, 2020 · 0 comments

Comments

@casey-ac
Copy link

This was the output upon first trying to run the game:

pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/home/fienix/Downloads/Feggle-master/feggle.py", line 85, in
scoreFont=pygame.font.Font(fontPath,fontsize)
FileNotFoundError: [Errno 2] No such file or directory: 'Fonts/pixeled.ttf'
Exception: b"PortMidi: Bad pointer'" Exception ignored in: 'pypm.Output.__dealloc__' Exception: b"PortMidi: Bad pointer'"

Renaming /Fonts/Pixelated.ttf to "pixelated.ttf" fixes the issue and the game runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant