首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >RazorPDF资源

RazorPDF资源
EN

Stack Overflow用户
提问于 2015-01-16 18:10:58
回答 1查看 1.6K关注 0票数 0

大家好,我已经通过nuget安装了一个RazorPDF到我的项目中。当我试图渲染我的页面时,我得到了这个错误:

代码语言:javascript
复制
Helvetica not found as resource.
 RazorPDF.Legacy.Text.Pdf.Type1Font..ctor(String afmFile, String enc, Boolean emb, Byte[] ttfAfm, Byte[] pfb, Boolean forceRead) +894
   RazorPDF.Legacy.Text.Pdf.BaseFont.CreateFont(String name, String encoding, Boolean embedded, Boolean cached, Byte[] ttfAfm, Byte[] pfb, Boolean noThrow, Boolean forceRead) +1056
   RazorPDF.Legacy.Text.Pdf.BaseFont.CreateFont(String name, String encoding, Boolean embedded, Boolean cached, Byte[] ttfAfm, Byte[] pfb, Boolean noThrow) +81
   RazorPDF.Legacy.Text.Pdf.BaseFont.CreateFont(String name, String encoding, Boolean embedded) +74
EN

回答 1

Stack Overflow用户

发布于 2015-01-16 18:58:17

您的iTextsharp组件有缺陷。当字体度量表没有嵌入到程序集中时,您会得到该错误。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27981600

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档