You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
What did you do?
What did you expect to happen?
What actually happened?
What are your OS, Python and Pillow versions?
The text was updated successfully, but these errors were encountered: