Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #170

Closed
muratcakir opened this issue Aug 21, 2014 · 1 comment
Closed

Error #170

muratcakir opened this issue Aug 21, 2014 · 1 comment
Labels

Comments

@muratcakir
Copy link
Contributor

@muratcakir muratcakir commented Aug 21, 2014

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 muratcakir self-assigned this Aug 21, 2014
@muratcakir muratcakir removed their assignment Aug 21, 2014
@muratcakir
Copy link
Contributor Author

@muratcakir muratcakir commented Aug 21, 2014

Extract the dll again and update them problem solved

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant