你能把你自己的字体导入PIL[Python图像库]

2024-05-13 10:23:30 发布

您现在位置:Python中文网/ 问答频道 /正文

我想知道有没有办法在draw.text中使用你自己的字体 我想用的字体叫DiscoMonkey

font = ImageFont.truetype("[discomonkey font]", 32)

请帮忙,谢谢


Tags: text字体fontdrawtruetype办法imagefontdiscomonkey