You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/10/08 14:59:44 UTC
DO NOT REPLY [Bug 43571] New: - Error resolving Font metric URL Jar
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: fop-dev@xmlgraphics.apache.org
ReportedBy: rparree@gmail.com
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.
DO NOT REPLY [Bug 43571] - Error resolving Font metric URL Jar
Posted by bu...@apache.org.
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
dev@cumiskey.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--
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.