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

Free Support Forum - aspose.com

loadExternalFonts Is Throwing Error though Font Exists on the Path

HI Team,

My code is converting PPT to PDF, where while loading fonts throws error -’‘The Specified Path is Empty’’

Here is my code -

FontsLoader.loadExternalFonts(new String[]{''C:/export/Font''});

I also tried to check, by default, is it picking any font by using the method
FontsLoader.getFontFolders(), it is returning empty.

Please suggest what needs to be done here -
using jar aspose-slides-21.4-jdk6.jar

@asposeissue,
Thank you for contacting support.

Please check the availability of the fonts in the folder you specified from your app, for example by reading the font data without Aspose.Slides. It looks like your app doesn’t have permission to do so. If it is not the case, please share the following data and information:

  • full stack trace of the error
  • OS version where the code was executed
  • JDK version you used

Then we will do our best to help you further.