We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Open/Save PDF using Aspose.PDF for .NET - Exception : Invalid font name

Hey i am using your totals product. I am opening a PDF and saving it as a stream. But it gives and exception “Invalid Font Name”. Please find the code below

PDF = new Document(Path.Combine(Path));
MemoryStream stream = new MemoryStream();
PDF.Save(stream);

The code has been working well for all documents until the exception appeared for one particular document that is attached below

Proof.PDF (1.7 MB)

@talhamalik97

We have managed to replicate the issue in our environment while using Aspose.PDF for .NET 20.9 and logged it as PDFNET-48862 in our issue tracking system. We will further look into its details and keep you posted with the status of its resolution. Please be patient and give us some time.

We are sorry for the inconvenience.