smartstore / SmartStoreNET

Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
http://www.smartstore.com/en/net
GNU General Public License v3.0
2.64k stars 1.47k forks source link

Error #170

Closed muratcakir closed 10 years ago

muratcakir commented 10 years ago

Get an error if I try to make a pdf file (Download Catalog as PDF)

System.IO.EndOfStreamException: Attempted to read past the end of the stream. at iTextSharp.text.pdf.RandomAccessFileOrArray.ReadUnsignedShort() at iTextSharp.text.pdf.TrueTypeFont.get_BaseFont() at iTextSharp.text.pdf.TrueTypeFont.Process(Byte[] ttfAfm, Boolean preload) at iTextSharp.text.pdf.TrueTypeFontUnicode..ctor(String ttFile, String enc, Boolean emb, Byte[] ttfAfm, Boolean forceRead)

at iTextSharp.text.pdf.BaseFont.CreateFont(String name, String encoding, Boolean embedded, Boolean cached, Byte[] ttfAfm, Byte[] pfb, Boolean noThrow, Boolean forceRead)

at iTextSharp.text.pdf.BaseFont.CreateFont(String name, String encoding, Boolean embedded)

at SmartStore.Services.Common.PdfService.GetFont() at SmartStore.Services.Common.PdfService.PrintProductsToPdf(Stream stream, IList`1 products, Language lang)

at SmartStore.Admin.Controllers.ProductController.DownloadCatalogAsPdf()

Migrated from CodePlex: Issue #166 from Scholten, on 11/16/2013 2:39:08 PM

muratcakir commented 10 years ago

Extract the dll again and update them problem solved

Migrated from CodePlex: written by Scholten, on 11/18/2013 2:50:07 PM