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

Free Support Forum - aspose.com

PPT to PDF: The fonts in the converted file changed (Java)

Hello, I am testing Aspose.Total for Java products, but I currently encounter problems that cannot be solved:
There was a problem converting the word format file to PDF format. The fonts in the converted file changed from a one-page file to two pages.
Here is the code I used:
public static void Slides () {
getLicense (“C: \ PrintHub \ license \ Aspose.Total.Product.Family (3) .lic”);
String dataDir = “C: \ PrintHub \ docs \ 2019 \ 7 \ 9 \”;
Presentation prest = new Presentation (dataDir + “111.pptx”);
// Convert PPTX to PDF, XPS and TIFF
prest.save (dataDir + “Slides.pdf”, SaveFormat.Pdf);
prest.save (dataDir + “Slides.xps”, SaveFormat.Xps);
prest.save (dataDir + “Slides.tiff”, SaveFormat.Tiff);
System.out.println (“Process Finished!”);



Thanks for the code segment and details.

Seeing your code segment, it looks like you are using Aspose.Slides, so I am moving your thread to Aspose.Slides forum where one of my colleagues will help you through.


I have observed your requirements and request you to please share the source file along with generated output for reference. Please also first try using latest Aspose.Slides for Java 19.12 on your end before sharing the information with us. Please also share the Operating system and Java details as well with us.