Problems with OCR-B-font
Mejlholm Harald <[email protected]> Wed, 28 May 2003 11:00:16 +0200
| Newsgroups | gmane.text.xml.xsl.general |
|---|---|
| Message-ID | <00447476B925D51198E000508B6F0DDC08BF3B7A@WMSI000272> |
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 secti=
on
of the FOP documentation, I get the following error:
Number of glyphs in font: 105
java.io.EOFException: Reached EOF, file size=3D24228 offset=3D66548
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 go=
t a
hint, why this proces fails?
Hilsen/Regards
Harald Mejlholm
WM-data
Hermodsvej 22
DK-8230 =C5byh=F8j
Tel: +45 45822200 Dir: +45 87444425
Fax: +45 87444487
MUSIC-supporttel: +45 87444600
mailto:[email protected]
http://www.wmdata.dk