-
Notifications
You must be signed in to change notification settings - Fork 105
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
Font file not found when using FontAwesome icons #4
Comments
That's a good one. Fixed. Thank you! |
Thanks for fixing it so quickly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When creating a chart with icons a
FileNotFoundError
is thrown, whilst looking for the filefont/FontAwesome.otf
. This seems to be because it's trying to find the file relative to the location of the calling script, rather than in thefont
package created during installation.A simple fix for this would be to modify
waffle.py
to import thefont
package and use its__path__
value to construct the path to the FontAwesome file:If you're happy with this fix I can make a pull request.
The text was updated successfully, but these errors were encountered: