Free Support Forum -

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.

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, 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?



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.


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: (321.4 KB)



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.

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