PIL imagefont 添加下劃線

真的找了很久也沒找到,imagefont有什麼函數能夠添加下滑線,最終是在找到了一個回答,超級爆爽解決python from PIL import Image,ImageDraw,ImageFont def draw_underlined_text(draw, pos, text, font, **options): twidth, theight = draw.textsize(tex
相關文章
相關標籤/搜索