I’m using Aspose Slides Java 21.4 and I’m having some serious font issues.
The first one is already explained here where the font thickness on thumbnails is not right. You’ll see it again appear now :
Basically, when saving as PDF instead of as PPTX, I’m losing the fonts. It’s not using the right fonts at all.
Example files here : https://www.dropbox.com/sh/66e0ovi1t2xx8h6/AAAagIT8E8dDbjiSyvH8siQsa?dl=0
You will find a slide screenshot from powerpoint (how it should actually look like, the pptx version, the jpg generated through getThumbnail (with the font thickness issue) and finally the PDF that does not have the right fonts at all.
Here’s how I’m generating the PDF :
asposePresentation=jpype.JClass("com.aspose.slides.Presentation") asposeSaveFormat=jpype.JClass("com.aspose.slides.SaveFormat") slideUtil=jpype.JClass("com.aspose.slides.SlideUtil") shapeType=jpype.JClass("com.aspose.slides.ShapeType") javaString=jpype.JClass("java.lang.String") if file_format == "pdf": aspose_format = asposeSaveFormat.Pdf else: aspose_format = asposeSaveFormat.Pptx destinationPresentation = asposePresentation() destinationPresentation.save(file_location, aspose_format)
Am I doing something wrong or is there a real issue with fonts ?