-
Notifications
You must be signed in to change notification settings - Fork 44
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
problem with ImageFont.py #16
Comments
@marcoalicera, it looks like the default font is set in definitions.py on line 26 here. At first glance this looks like a hard coded bug. Drawing methods should have a fallback font or use a default font that is OS agnostic. Want to take a stab at fixing this? More broadly, I don't like how configuration is handled. I like adopt a best practice for providing users access to certain config setting. Does anyone have any ideas or examples of best practices to that end? |
@aerispaha, I would like to help to fix it, but I have no idea how to start. I already had had a problem with the definitions.py, which was not part of my installation and I don not think I solved properly. |
@marcoalicera, understood. I don't want to get too ahead of ourselves, but I feel like this issue stems from broader project-level set up that I'd like to address. For now, I can try to find time to debug this directly. Can you share a requirements.txt file so I can see exactly how your environment it set up? You can run |
When I tried to ru
sg.draw_model(mymodel)
I got the following error:I should say that I have no admin rights on this machine and I won't have them
The text was updated successfully, but these errors were encountered: