[
https://issues.apache.org/jira/browse/PDFBOX-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490348#comment-16490348
]
Petr Slaby commented on PDFBOX-4229:
------------------------------------
That class is not public, so you have to copy it to your own source base to be
able to set the provider (I did not try, not sure if that is even possible
without copying a lot of dependencies, too)...
The FontMapper topic has been discussed some time ago in PDFBOX-2539 and on the
mailing list. I (still) share the opinion that the external font mapping
customisation needs an improvement. In our application, we need a different
font configuration for tasks running in parallel threads in an application
server. This can only be achieved using a ThreadLocal variable in a custom
FontMapper implementation (at least I hope it can work this way, we did not
implement it yet).
> allow user to set FontProvider
> ------------------------------
>
> Key: PDFBOX-4229
> URL: https://issues.apache.org/jira/browse/PDFBOX-4229
> Project: PDFBox
> Issue Type: Improvement
> Affects Versions: 2.0.9
> Reporter: Michael Brackx
> Priority: Major
>
> Allow a user to set FontProvider without "hacking".
> Currently when using pubic interfaces only a complete FontMapper needs to be
> implemented.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]