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

Free Support Forum - aspose.com

Font got changed after ppt is converted to PDF

Please see problem in the attached files as “input.ppt” and “output.pdf”,
sample code is as followings, Thanks!

Presentation pres = new Presentation(“C:\temp\input.pptx”);
try {
// Instantiate the PdfOptions class
com.aspose.slides.PdfOptions pdfOptionsSlider = new com.aspose.slides.PdfOptions();

        // Specify that the generated document should include hidden slides

        // Save the presentation to PDF with specified options
        String path ="C:\\temp\\output.pdf";
        pres.save(path, com.aspose.slides.SaveFormat.Pdf,pdfOptionsSlider);
    } catch (Exception e) {
        System.out.println("Error...." + e.getMessage());

RuhongFont-changed.zip (255.3 KB)


I have observed your comments. Can you please share environment details along with version you are using on your end.

Windows 10, thanks!


I have observed the issue shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-37352 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as SLIDESJAVA-37352) have been fixed in this update.