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

Free Support Forum - aspose.com

Updating aspose slides jar to 15.7.0 caused com.aspose.slides.PptxReadException


We have been using aspose slides (15.1.0) Java for sometime now and recently upgraded to 15.7.0. However, we started seeing an error on our Unix boxes, “Cannot find any fonts installed on the system.” We never had this issue prior to aspose upgrade.

We did solve this issue by using FontsLoader. However, we are curious as to how did the aspose upgrade cause this error. Why weren’t we seeing the issue earlier if aspose slides needs a font directory to be specified for rendering slide previews.

class com.aspose.slides.PptxReadException: Cannot find any fonts installed on the system. —> class com.aspose.slides.ms.pbdb106a0.bt
com.aspose.slides.aws.do(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)


Hi Chinmay,

I have observed the comments shared by you and like to share that there may be difference in presentations on your end. It is also likely that even if you are using the same presentation deck with both versions and reproducing the behavior. There is much difference in terms of functionalities between Aspose.Slides for Java 15.1.0 and 15.7.0. There is a possibility that some functionalities that were unavailable in Aspose.Slides for Java 15.1.0 may got skipped by Aspose.Slides. However, those functionalities may get available till Aspose.Slides for Java 15.7.0 and when the same presentation is read with new version the issue is spawned. So when you use FontsLoader to load fonts used in presentations externally things are settled. I hope this clarification will be helpful in understanding the concept.

Many Thanks,