Skip to content

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

Open
@gamartin23

Description

@gamartin23

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions