Pptx to images font not found

Presentation pres = new Presentation(is);

int idx=1;

ListbeanList=new ArrayList();

for (int i=0;i<pres.getSlides().size();i++) {

ISlide sld = pres.getSlides().get_Item(i);

ByteArrayOutputStream out=new ByteArrayOutputStream();

BufferedImage image = sld.getThumbnail(1f, 1f);

javax.imageio.ImageIO.write(image, "png", out);

//

try {

String attachmentName=sld.getName()+(idx++)+".png";

byte[] content=out.toByteArray();

saveToLocalPath();

} catch (Exception e) {

BossSystemUI.handleException(e);

}

out.close();

}



pptx cpntent have some words such as 'abcd1234', but conver to images ,the images have no word.

env:centos 6.5



Hi,

Thanks for inquiring Aspose.Slides.

I have observed the issue shared by you and request you to please provide source presentation, generated output, desired output and working sample code with us. I will be able to investigate the issue further on my end once requested information will be shared.

I also suggest you to please first try using Aspose.Slides for Java 16.3.0 on your end before sharing further information with us.

Many Thanks,

i have sloved the issue.


Solution:
centos install font then restart application

Hi,

Its good to know things are fine on your end. Please share, if I may help you further in this regard.

Many Thanks,