This is the xmlgraphics-commons part of the patch discussed for the thread "Fonts in JAR files" on fop-dev.
Created attachment 20550 [details] patch to support classpath resources the actual patch
Patch applied: http://svn.apache.org/viewvc?rev=582750&view=rev Thanks, Max. Looks useful, though it may need some tweaking when we've had some experience with it. If you look at Service.java, you'll see that there's a more complex way to determine the right class loader. I've moved the class loader determination into a separate private method and have adjusted the naming of the singleton getter just a bit.