Please try again with the latest FOP Trunk. I suspect your problem is fixed with my latest change, too. http://svn.apache.org/viewvc?rev=596724&view=rev
Jeremias Maerki On 15.11.2007 11:31:33 Alexander Lohse wrote: > Hi, > > I am having trouble upgrading from 0.93 to 0.94. > > Is there any significant change regarding font handling in 0.94? > > I get a java.lang.RuntimeException: Cannot load font. No font URIs > available. > > I use a handrolled URIResolver, which shows no problems reading the > fonts from the config-xml, and nicely delivers StreamSource from > InputStream from JAR. > > Is there a way to display a more verbose error message, maybe > containing a font name, which URI is missing? > > From my config-xml: > > [SNIPPET] > > <fop version="1.0"> > > <base>./</base> > > <font-base>./</font-base> > > <source-resolution>72</source-resolution> > <target-resolution>72</target-resolution> > <renderers> > > <renderer mime="application/pdf"> > <fonts> > > <!-- Bauhaus --> > <font metrics-url="file:font/bauhaus/ITCBAUHH.xml" > kerning="yes" embed-url="file:font/bauhaus/ITCBAUHH.PFB"> > <font-triplet name="Bauhaus" style="normal" > weight="900" /><!-- Heavy --> > </font> > > > ... > > [/SNIPPET] > > Thank you in advance, > > Alex > ______________________________________________________________ > > Alexander Lohse • Entwicklungsleitung & Projektmanagement > Tel +49 38374 752 11 • Fax +49 38374 752 23 > http://www.humantouch.de > > Human Touch Medienproduktion GmbH > Am See 1 • 17440 Klein Jasedow • Deutschland > > Geschäftsführung: > Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) > Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]