My application which is using Aspose Slides 17.10.0 is running on Red Hat Linux OS.
Using FontsLoader.loadExternalFonts() I am passing in a font directory containing say for example Calibri.ttf. The Linux OS did not have Calibri.
However, I do see the Calibri getting added to the Graphic Environment because of FontsLoader.loadExternalFonts() call:
GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames()
But, I still get cannot find any fonts installed on the system.
What kind of permissions does Aspose expect the font .ttf file to have?
I am curious to know if this is already fixed in a future release ?
Just so you know, my code DOES work fine on windows and I am trying to create a new ppt in my application.
ERROR:-
class com.aspose.slides.exceptions.InvalidOperationException: Cannot find any fonts installed on the system.
com.aspose.slides.internal.dh.native.do(Unknown Source)
com.aspose.slides.m8.do(Unknown Source)
com.aspose.slides.m8.do(Unknown Source)
com.aspose.slides.m8.do(Unknown Source)
com.aspose.slides.agh.do(Unknown Source)
com.aspose.slides.mq.do(Unknown Source)
com.aspose.slides.j4.do(Unknown Source)
com.aspose.slides.nd.do(Unknown Source)
com.aspose.slides.ah4.for(Unknown Source)
com.aspose.slides.ah4.switch(Unknown Source)
com.aspose.slides.cv.do(Unknown Source)
com.aspose.slides.BaseSlide.do(Unknown Source)
com.aspose.slides.Slide.do(Unknown Source)
com.aspose.slides.Slide.do(Unknown Source)
com.aspose.slides.z0.try(Unknown Source)
com.aspose.slides.z0.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)
Please advice!
Thanks in advance.