Hi! Yesterday I had to create some font metrics for a customer. I discovered that only under JRE 1.5 a FileNotFoundException was thrown. Then I switched to JDK 1.4 and the error didn't occur any longer (some command line call, same paths...!). So just switch to an earlier JRE version. But don't ask why it doesn't work with JDK 1.5. Seems to be really strange?!
Cheers, Sascha NORTHBIT Sascha Schmidt [EMAIL PROTECTED] www.northbit.de ________________________________________ From: Pierre-Yves Landuré [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 3:33 PM To: fop-users@xmlgraphics.apache.org Subject: [Norton AntiSpam] Re: TTF Reader : file not found exception ? Hi Chrish here is the command that i use. /usr/bin/java -cp /var/www/ecd/modules/movie/common/fopFonts/fop.jar:/var/www/ecd/modules/movi e/common/fopFonts/avalon-framework.jar:/var/www/ecd/modules/movie/common/fop Fonts/xml-apis.jar:/var/www/ecd/modules/movie/common/fopFonts/xercesImpl.jar :/var/www/ecd/modules/movie/common/fopFonts/xalan.jar org.apache.fop.fonts.apps.TTFReader upirpaw.ttf upirpaw.ttf.xml I believe that it is correct... Pierre-Yves Landuré Dorigo consultants http://www.dorigo-consultants.com Chris Bowditch a écrit : Pierre-Yves Landuré wrote: <snip/> TTF Reader v1.1.1 Reading upirpaw.ttf... Number of glyphs in font: 280 Creating xml font file... Creating CID encoded metrics Writing xml font file upirpaw.ttf.xml... javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:/var/www/ecd/media/fonts/upirpaw.ttf.xml (No such file or directory) Can you post up the command line used to invoke the TTFReader? Either you specified a URL as the destination file. Which I don't think is valid, or maybe FOP is using the fontBaseURL in the output path. In either case the URL quoted above looks invalid to me. I reckon it should be: file:///var/www/ecd/media/fonts/upirpaw.ttf.xml Chris <snip/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature