PIL imagefont 添加下划线

真的找了很久也没找到,imagefont有什么函数能够添加下滑线,最终是在找到了一个回答,超级爆爽解决python from PIL import Image,ImageDraw,ImageFont def draw_underlined_text(draw, pos, text, font, **options): twidth, theight = draw.textsize(tex
相关文章
相关标签/搜索