九州体育网 - 十年信誉网站

关于作者

Discuss / Python / font = ImageFont.truetype('Arial.ttf', 36)

font = ImageFont.truetype('Arial.ttf', 36)

Topic source

Centreless丶

#1 Created at ...

Arial.ttf,只是一个字体类型,可能有的计算机没有这种字体,换种字体类型即可。C:\Windows\Fonts

黄展奇

#2 Created at ...

是的,或者直接复制字体文件到代码所在文件夹即可


  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.