Hi pdf out is not producing the same output as what is seen in PowerPoint
the enclosed example is a wrapped text string in PowerPoint but produces a line break in the pdf where the font changes from normal to bold
try {
String dataDir = new File(".").getAbsolutePath() + File.separator;
String[] fontFolder = new String[] { dataDir+"microsoftfonts" };
FontsLoader.loadExternalFonts(fontFolder);//points to microsoft font with Arial in
Presentation pres = new Presentation(dataDir+"in.pptx");
pres.save(dataDir + "out.pdf", SaveFormat.Pdf);
} catch( Exception e){
System.out.println("Error Exception in code: "+e.getMessage());
System.exit(1) ; } }
test.zip (43.6 KB)