Converting PPT slides to image mess up fonts


#1

For the attached presentation, pres_menora.zip (2.2 MB), attempting to get the thumbnails for slides reverses Hebrew text from RTL to LTR, and messes up the fonts.
The PPT uses neither system fonts nor embedded fonts. I’ve tried to manipulate the fonts using the Aspose FontsLoader and FontsManager classes, but without success. It looks good in PowerPoint but not after Aspose conversion.

Can you please assist? Here’s the sample code:

Presentation pres = new Presentation(“pres_menora.pptx”);
for (ISlide slide : pres.getSlides()) {
BufferedImage image = slide.getThumbnail(1f, 1f);
ImageIO.write(image, “jpeg”, new File(“pres” + slide.getSlideNumber() + “.jpg”));
}

Thanks,

Oren Shoham


#2

@oren.shoham,

I have worked with source files and sample code shared by you and have been able to observe the issue. A ticket with ID SLIDESJAVA-37827 has been created in our issue tracking system to further investigate issue in detail. This thread has been linked with issue so that you may be automatically notified once issue will be fixed.


#3

Thanks Adnan.

Do you have an ETA for resolving this issue? It is critical for us.

Thanks,

Oren


#4

@oren.shoham,

I like to inform that this issue is blocked owing to missing implementation. We are working on this and will share good news with you soon.