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

Free Support Forum - aspose.com

Text Wrapping Is Incorrect when Converting PPTX to PDF

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)

@JamesDriscoll,
Thank you for the issue description. I reproduced the problem with text wrapping and logged the issue with ID SLIDESJAVA-38642 in our tracking system. Our development team will investigate this case. You will be notified when the problem is resolved.

1 Like

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

1 Like