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