You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Cornelis Hoeflake (JIRA)" <ji...@apache.org> on 2014/09/17 10:16:33 UTC

[jira] [Created] (PDFBOX-2358) ExternalFonts uses classloader of class in font-box

Cornelis Hoeflake created PDFBOX-2358:
-----------------------------------------

             Summary: ExternalFonts uses classloader of class in font-box
                 Key: PDFBOX-2358
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2358
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Cornelis Hoeflake


ExternalFonts loads some default fonts via the org.apache.fontbox.util.ResourceLoader. That resourceloader uses it's own classloader (ResourceLoader.class.getClassLoader()) for loading the given resource.
The problem is that the resource is in the PDFBox project and the ResourceLoader in the FontBox. In an OSGI environment this is a problem.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)