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

Free Support Forum - aspose.com

Incorrect Font when Converting PPTX to PDF

I am using Aspose slides Dot.net (I can upgrade to latest if needed)
When saving a powerpoint as pdf the correct fonts aren’t used.
var presentation = new Aspose.Slides.Presentation(m);
presentation.Save(m, Aspose.Slides.Export.SaveFormat.Pdf);

In the Powerpoint the font Montserrat SemiBold is being used, the pdf it’s replaced by Courier New.
Is there any way to include the Montserrat font with the pdf export?
I have Montserrat installed on my system.

Welcome to our community! Thank you for the issue description.

There were many updates after version 21.8. Please check your results using the latest version of Aspose.Slides if it possible.

Also, you can try to load the font as an external font. Please read the following article: Custom Font.

If the issue persists, please share and specify the following:

  • input PowerPoint file
  • output PDF file
  • Montserrat font
  • OS version on which the code was run
  • .NET Framework version

You can zip the files and upload them here.