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