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

ImageFont.load_default() got an unexpected keyword argument 'size' #1

Open
gamartin23 opened this issue May 14, 2024 · 0 comments
Open

Comments

@gamartin23
Copy link

At ctk_pie_chart.py, line 82 it reads
font=ImageFont.load_default(size=70)

at least in my case it didn't work and removing the argument made text one pixel tall. So i replaced it with
font=ImageFont.truetype('arial.ttf',size=60)
in my implementation

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