Hi Raphael,
Could you tell me which FOP version you were originally using and which
version you have upgraded to. It very much sounds like a bug, please
file it at http://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop
and I will investigate it.
Adrian.
Raphael Parree wrote:
Hi,
I am quite sure (but not 100%-perhaps there was somewhere a side effect
I am not seeing right now) that 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
Is this changed feature for which I need to update my code, or a bug, or
am I missing something?
Tx.,
Raphael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]