Free Support Forum - aspose.com

Wrapped text present on pptx and exported pdf doesn't match

Hi, We are using slides 19.12 (java) to export presentations as pdf. However ouput of pdf doesn’t match with the pptx.

Code:
PdfOptions pdfOptions = new PdfOptions(); // Instantiate the PdfOptions class
pdfOptions.setJpegQuality((byte) 90); // Set JPEG Quality
pdfOptions.setSaveMetafilesAsPng(true); // Define behavior for Meta files
pdfOptions.setTextCompression(PdfTextCompression.Flate); // Set Text Compression level
pdfOptions.setCompliance(PdfCompliance.Pdf15); // Define the PDF standard
presentation.save(destination, SaveFormat.Pdf, pdfOptions);

Difference in source pptx and exported pdf
difference.png (35.8 KB)

Can something be done so that the wrapped text present on the pptx matches with the exported pdf?

Thanks.

@n1kh1l

Please try using latest Aspose.Slides for Java 20.9 on your end and also ensure that fonts used in presentation are also available on machine. Please share the source file and generated PDF with us if the issue still persist on your end.

@mudassir.fayyaz

We tried using version 20.9 but we are still facing the same issue. Also fonts are available on the machine.

Source pptx and generated pdf:
files.zip (321.4 KB)

Thanks.

@n1kh1l

I have created an issue with ID SLIDESJAVA-38336 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.