W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2003

Problems with OCR-B-font

From: Mejlholm Harald <hamej@wmdata.com>
Date: Wed, 28 May 2003 11:00:16 +0200
Message-ID: <00447476B925D51198E000508B6F0DDC08BF3B7A@WMSI000272>
To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT