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

Free Support Forum - aspose.com

Cannot find any fonts installed on the system - Linux


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

My example code:
String[] fontDirectories = { “/app/fonts/”, “./fonts” }

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

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 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,