Hi,
Bullets/ square bullets are rendered as "n" when we convert ppt to pdf using aspose slides in UNix env. In windows they are rendered correctly.
I have attached the sample ppt and the pdf images from both the env for details.
I am using aspose.slides-2.5.0.jar
Please help me on this.
The code used for converison is
Presentation pres = AsposeContext.getInstance().getPresentation(
sourcPath);
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);
// Ashutosh : added for adding bookmarks to the ppt
asposeContext.setPdfLicense();
PdfContentEditor editor = new PdfContentEditor();
editor.bindPdf(destinationPath);
editor.createBookmarks();
editor.save(destinationPath);
logger.debug("convert PowerPoint To Pdf completed");
Thanks