Problems with OCR-B-font

I have a Windows True Type Font file for the OCR-B-font. When I try to
create a font metrics file for FOP as described in the Font Support section
of the FOP documentation, I get the following error:

Number of glyphs in font: 105
java.io.EOFException: Reached EOF, file size=24228 offset=66548
        at org.apache.fop.fonts.FontFileReader.seek_set(FontFileReader.j
        at org.apache.fop.fonts.TTFFile.readCMAP(TTFFile.java:217)
        at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:386)
        at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:18
        at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:143)

When I do the same for other Windows fonts, it works fine. Has anybody got a
hint, why this proces fails?

Hilsen/Regards

Harald Mejlholm

WM-data
Hermodsvej 22
DK-8230 Åbyhøj
Tel:   +45 45822200  Dir: +45  87444425
Fax:  +45 87444487
MUSIC-supporttel: +45 87444600
mailto:hamej@wmdata.com
http://www.wmdata.dk

Received on Wednesday, 28 May 2003 04:59:44 UTC