不能 setFont(Times-Roman) 缺少 T1 文件吗? [英] Can't setFont(Times-Roman) missing the T1 files?
问题描述
我有错误:
找不到脸Times-Roman"的.pfb错误:reportlab.graphics.renderPM.RenderPMError: Can't setFont(Times-Roman) 缺少 T1 文件?
我认为 Times-Roman 字体没有得到.
任何人都可以为此找到解决方案.
谢谢.
在研发之后,我找到了解决方案......以及它对我的工作......
-> 此错误也发布在 bugs.debian.org,并提供补丁来避免这个错误.
-> 另一个解决方案是(我更喜欢这个):
下载此pfbfer.zip,并解压.>
现在把这个pfbfer的所有文件放入...
/usr/lib/python2.7/dist-packages/reportlab/fonts/(放文件)
如果 fonts 文件夹在 reportlab 目录中不可用,则创建它并将所有字体文件放在提取文件夹 pfbfer 中的 fonts>.
I have the error :
Can't find .pfb for face 'Times-Roman'
Error: reportlab.graphics.renderPM.RenderPMError: Can't setFont(Times-Roman) missing the T1 files?
I think the Times-Roman fonts is not getting.
Can anyone have a solution for this one.
Thanks.
After the R&D i found the solutions for this... and its work for me...
-> This error is also post in bugs.debian.org, and patch is provide to avoid this error.
-> And another solution is (I prefer this one):
Download this pfbfer.zip, and extract it.
Now put all the files of this pfbfer in...
/usr/lib/python2.7/dist-packages/reportlab/fonts/(put the files)
If the fonts folder is not available in reportlab directory then create it and put all the font-files in fonts from the extract folder pfbfer.
这篇关于不能 setFont(Times-Roman) 缺少 T1 文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!