You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Petr Slaby (JIRA)" <ji...@apache.org> on 2014/06/16 15:34:01 UTC

[jira] [Created] (PDFBOX-2144) Provide a pluggable font manager

Petr Slaby created PDFBOX-2144:
----------------------------------

             Summary: Provide a pluggable font manager
                 Key: PDFBOX-2144
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2144
             Project: PDFBox
          Issue Type: Improvement
          Components: Rendering
            Reporter: Petr Slaby
         Attachments: FontManager.patch

Our J2EE application has all fonts and resources configured and stored in its database. No files are accessed directly from file system or from system environment. To make PDFBox compatible with this philosophy, we need the FontManager in pdfbox and fontbox to be pluggable, e.g. as shown in the attached patch.

The proposal defines a FontManager interface and default implementation which is the original one. FontManager then needs to be configured on and propagated from PDFStreamEngine and PageDrawer. It should also be configurable on PDFRenderer, which is not shown in the patch. There I would suggest to introduce a configuration object which would take care about all the current and future options of PDFRenderer.




--
This message was sent by Atlassian JIRA
(v6.2#6252)