-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
AnacondaIssues with Anaconda's PillowIssues with Anaconda's Pillow
Description
What did you do?
draw.text((50,5),str(d['类型']), font=font25bd, fill='#eaca67')What did you expect to happen?
What actually happened?
File "批量添加文字.py", line 108, in draw_content
draw.text((50,5),str(d['类型']), font=font25bd, fill='#eaca67')
File "d:\anaconda3\lib\site-packages\PIL\ImageDraw.py", line 379, in text
draw_text(ink)
File "d:\anaconda3\lib\site-packages\PIL\ImageDraw.py", line 324, in draw_text
mask, offset = font.getmask2(
File "d:\anaconda3\lib\site-packages\PIL\ImageFont.py", line 667, in getmask2
size, offset = self.font.getsize(
OSError: invalid face handle
What are your OS, Python and Pillow versions?
- OS: win10
- Python: anaconda 3.8
- Pillow: 8.1.2
Metadata
Metadata
Assignees
Labels
AnacondaIssues with Anaconda's PillowIssues with Anaconda's Pillow