That's not the FreeSerifBold font from the freefont package
(http://savannah.nongnu.org/projects/freefont), is it? Because that one
converts fine with TTFReader.

How you might correct this? By fixing the get_ttf_funit() method in
TTFFile. Alternatively, you can file a bug report in Bugzilla
(http://xml.apache.org/fop/bugs.html). You will need to attach the font
so the person who will fix the problem can test. But only attach the
font that if there are no copyright problems. If there are, we would
have to find another way.

On 10.06.2003 21:39:55 John Dunning wrote:
> 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:
> Exception in thread "main" java.lang.ArithmeticException: / by zero
>         at org.apache.fop.fonts.TTFFile.get_ttf_funit(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.


Jeremias Maerki


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

Reply via email to