Hi, I am using Words to convert some Word and HTML files to PDF. I have an issue where the PDF rendering in some cases is practically illegible. Running the exact same code on Windows or OS X produces a perfect document, so I figured the issue was font-related. I ran into a similar issue with PowerPoint files and Slides and addressed it via Slides “FontsLoader.loadExternalFonts” call.
Per the documentation and a couple forum postings, I first tried adding my extra fonts via creating a new FolderFontSource, appending it to the list of FontSources and doing a new call to “FontSettings.setFontsSources”. This didn’t work, so I have now tried just setting “FontSettings.setFontsFolder” directly, but I’m still having the output issues. Are there any other APIs that need to be called once the directories are set?