当前位置: 动力学知识库 > 问答 > 编程问答 >

python aafigure warning font not found

问题描述:

I am trying to use the aafigure package in order to render some ASCII diagrams. When I try to test with the command aafigure sequence.txt -t=png I get the following errors :

WARNING: font not found, using PIL default font

ERROR: Can't output format '=png': PIL doesn't support image format '=png'

It looks like this error is due to an unrecognised font by PILlibrary. It would be fixed if the error message generates the missing font which in my case (MacOS) is not showing up.

网友答案:

try use

aafigure sequence.txt -t png -o test.png

reference

https://pythonhosted.org/aafigure/manual.html#usage

分享给朋友:
您可能感兴趣的文章:
随机阅读: