Could you please let me know how FontsLoader.getFontFolders() in Aspose.Slides for Java (v20.5) determines the system font directories?
I’m running Aspose Slides in a linux environment, with a custom font config (set via FONTCONFIG_PATH). This makes fontconfig properly load fonts from an app-specific set of directories. GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames() sees the custom fonts, but Aspose Slides FontsLoader.getFontFolders() seems to see only the directories configured in the system /etc/fonts/fonts.conf, not the custom font config.
I know it’s possible to load external fonts using FontsLoader, but I prefer to use the fontconfig setup for consistency with other things running on the same environment.
I assume this is not a bug with Aspose, but I likely need to configure something else so Aspose slides reads the correct font configuration, but without knowing what exactly to configure it’s difficult to do so.
Thanks in advance!