I had the same problem and "solved" it by using Fop 0.20.5 TTFReader for creating the font metric. No solution but a workaround.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Behalf Of Xuan Ngo > Sent: Wednesday, April 12, 2006 5:10 AM > To: [email protected] > Subject: Unable to create font metric file of Arial Unicode MS > > > I was unable to create font metric file of Arial Unicode MS. > Can some1 help. > thx! > > Fop version = 0.91beta > > Here is the command: > ===================== > C:\fop>java -cp build\fop.jar; > lib\avalon-framework-4.2.0.jar; > lib\batik-all-1.6.jar; > lib\commons-io-1.1.jar; > lib\commons-logging-1.0.4.jar; > lib\serializer-2.7.0.jar; > lib\xalan-2.7.0.jar; > lib\xercesImpl-2.7.1.jar; > lib\xml-apis-1.3.02.jar > org.apache.fop.fonts.apps.TTFReader > C:\WINDOWS\fonts\arialuni.ttf arialuni.xml > > Output Message: > =============== > TTF Reader for Apache FOP 0.91beta > > Parsing font... > Reading C:\WINDOWS\fonts\arialuni.ttf... > Number of glyphs in font: 51180 > Error while building XML font metrics file. > java.lang.ArithmeticException: / by zero > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
