Hi, I'm trying to embed a custom font I created with Pfaedit
(http://pfaedit.sourceforge.net) as described in
http://xml.apache.org/fop/fonts.html, but I keep getting the following error
with the TTFReader:

TTF Reader v1.1.1

Reading fonts\FreeSerifBold.ttf...

Number of glyphs in font: 10838
Creating xml font file...

Exception in thread "main" java.lang.ArithmeticException: / by zero
        at org.apache.fop.fonts.TTFFile.get_ttf_funit(Unknown Source)
        at org.apache.fop.fonts.TTFFile.getFontBBox(Unknown Source)
        at org.apache.fop.fonts.apps.TTFReader.constructFontXML(Unkno
        at org.apache.fop.fonts.apps.TTFReader.main(Unknown Source)

I understand the nature of the error (div by 0), but how might I correct
this?  The other 3 fonts I've created have generated the metrics files
without error.

TIA,
John


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to