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

Free Support Forum - aspose.com

Lines and underlines are not rendered when converting PPT to PDF

Hi,

I have generated a PPT through Aspose Slides. The PPT has Lines and some underlined words.

When I convert this PPT to PDF the lines ,italics and underlines are not rendered in the PDF.

The line which I add manually is rendered in the PDF.

Please find attached the PPT and PDF for your reference.

Code for converting PPT to PDF:

PdfOptions pdfOptions = new PdfOptions();

pdfOptions.setJpegQuality(100);

// Define behavior for meta files

pdfOptions.setSaveMetafilesAsPng(true);

// Set Text Compression level

pdfOptions

.setTextCompression(com.aspose.slides.export.PdfTextCompression.FLATE);

// Define the PDF standard

pdfOptions

.setCompliance(com.aspose.slides.export.PdfCompliance.PDF_15);

inputStream = new FileInputStream(sourcPath);

bufferedInputStream = new BufferedInputStream(inputStream);

fileOutputStream = new FileOutputStream(destinationPath);

bufferedOutputStream = new BufferedOutputStream(fileOutputStream);

int nextChar;

while ((nextChar = bufferedInputStream.read()) != -1) {

bufferedOutputStream.write(Character .toUpperCase((char) nextChar));

}

bufferedOutputStream.flush();

pres.save(bufferedOutputStream,

com.aspose.slides.export.SaveFormat.PDF, pdfOptions);

pres.save(destinationPath, com.aspose.slides.export.SaveFormat.PDF,

pdfOptions);

Hi Suryakant,

Thanks for your interest in Aspose.Slides.

I
have tested the scenario and I am able to reproduce the same problem.
For the sake of correction, I have logged it in our issue tracking
system as SLIDESJAVA-29490. Our team will look into this issue and you
will be updated via this forum thread once it is resolved.

We apologize for your inconvenience.