Hello there, In order to be system agnostic when deploying a service which use PDFBox 2.0.16, I would like to use a single specific directory as the source of all available fonts (regardless of the system fonts).
Looking at the code it seems that the only way to do that would be to use FontMappers.set(FontMapper fontMapper) and implement a custom mapper. However this would force me to reimplement all the nice things already handled in FontMapperImpl, FileSystemFontProvider and FontFileFinder. So I thought we could overload FileSystemFontProvider constructor to provide a (custom) FontFileFinder, and use this FontProvider in FontMapperImpl. But all those classes are package protected and thus not accessible from the library users. Would you have any ideas or pointers on how to do this? It might require a pull request on the library code to allow it. Disclaimer I am not sure if this is the right place to ask those questions, but any feedback is welcome. Best Regards, Guillem -- This e-mail message and any attachments to it are intended only for the named recipients and may contain legally privileged and/or confidential information. If you are not one of the intended recipients, do not duplicate or forward this e-mail message.