DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43571>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43571 Summary: Error resolving Font metric URL Jar Product: Fop Version: 0.94 Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: fonts AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I was able to load the font metrics file from my classpath, where the font metrics files reside inside a jar file. The Base url is set: fopFactory.setFontBaseURL(getClass().getResource("/com/foo/").toExternalForm()); During newFop() in the org.apache.fop.render.PrintRendererConfigurator#getFontInfoFromConfiguration the Source is created for the metrics file (the URL in the FOURIReolver is jar:file:/c:/myjar.jar!/com/foo/verdana.xml). Then later on org.apache.fop.fonts.LazyFont#load the Source remains null (the URL in the FOURIReolver is now file:/c:/myjar.jar!/com/foo/verdana.xml (no jar: prefix (!) ). Consequently the connection.connect() throws a FileNotFoundException -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
