大家好,我已经通过nuget安装了一个RazorPDF到我的项目中。当我试图渲染我的页面时,我得到了这个错误:
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发布于 2015-01-16 18:58:17
您的iTextsharp组件有缺陷。当字体度量表没有嵌入到程序集中时,您会得到该错误。
https://stackoverflow.com/questions/27981600
复制相似问题