I have kept all the fonts in a directory named “dir” and given a path as “/sampleFolders/dir/” on linux server
String[] fontDir = new String[] {PropertyHolder.getFontsDirectories()};
System.out.println(“fontDir”+ fontDir);
// Load the custom font directory fonts
FontsLoader.loadExternalFonts(fontDir);
Presentation ppt = new Presentation(is);
ppt.save(fos, com.aspose.slides.SaveFormat.Pdf);
but this is accepting only one font named arialBold but all the other supported fonts are kept in this directory so can we use something which will get all the fonts from the “dir” directory.