Free Support Forum - aspose.com

Embedded Fonts in PPT/X to PDF conversion

Hi, I’m evaluating Aspose.Slides for .NET and I need to convert some PPT/X file to PDF.


This is the code I’m using:

public void PPTXToPDF(string originalPptPath, string pdfPath) {
using (Presentation presentation = new Presentation(originalPptPath)) {
presentation.Save(pdfPath, Aspose.Slides.Export.SaveFormat.Pdf);
}
}

Everything works fine, except that the font seems not to be included in the generated PDF.

When I open the PDF, Adobe Reader says “Cannot extract the embedded font ‘##############’. Some characters may not display or print correctly.”.

The PPTX has the font and displays it correctly, so what might be the issue?

Hi Max,


Thank you for your interest in Aspose.Slides.

I have observed your comments and like to share with you that the issue must be occurring owing to the reason of missing fonts. I request you to please visit this documentation link and load fonts externally then try converting to pdf. Hopefully this will resolve the issue otherwise please share the source file and generated output file so that we may investigate it further to help you out.

Please let us know if the issue persists. We will be happy to assist you further.

Best Regards,