Cannot find any fonts installed on the system - Linux

Hi,

I have problem with adding custom font location for aspose slides.

My example code:
String[] fontDirectories = { “/app/fonts/”, “./fonts” }
FontsLoader.loadExternalFonts(fontDirectories);

How to check that custom font location are added?
My ideas:
IFontData[] embeddedFonts = new Presentation().getFontsManager().getEmbeddedFonts()
IFontData[] fonts = new Presentation().getFontsManager().getFonts()
or
com.aspose.pdf.Document.getLocalFontPaths()

But in both of the above examples, java don’t return new font location :confused:

In real story, first I’ve need to get current font directories and add several new including old location.

I’ve read ASPOSE_FONTS_PROBLEM.

Hi,

I have observed the requirements shared by you and regret to share that at present the requested support for getting the list of external fonts is unavailable in Aspose.Slides. An issue with ID SLIDESJAVA-36419 has been created in our issue tracking system as new feature request to provide the requested support. This thread has been linked with the issue so that you may be automatically notified once the support will be available.

We are sorry for your inconvenience,