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)

Reply via email to