I am using Aspose.Slides component for rendering PPTX files.
My component runs in a docker image.
I am providing the fonts needed for rendering in the resources/fonts directory, that are packaged into the JAR file.
My questions:
Does the FontsLoader.loadExternalFonts and FontConfigs.setFontFolder accepts the folder located in the JAR file? Or should I extract them to a local directory first? When I log the path, it looks like: file:/app/MyService.jar!/BOOT-INF/classes!/fonts
Do I need to call for FontsLoader.loadExternalFonts for Slides and FontConfigs.setFontFolder for Cells separately in the same module? (I use both, Slides and Cells).
Does a call for any of the APIs above set the component to ignore the fonts installed on the machine?
I’ve added a ticket with ID SLIDESJAVA-38829 to our issue tracking system. Our development team will look into your questions. We will answer you soon.
As for Aspose.Slides, you should use FontsLoader.loadExternalFonts for specifying additional fonts that may be used in presentations. The system fonts are not ignored.
As for Aspose.Cells, I moved this forum thread to Aspose.Total forum. My colleagues will answer you a bit later.