xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solomailing <solomail...@gmail.com>
Subject error creating ttf metrics
Date Thu, 04 Sep 2008 16:13:59 GMT

ttf reader give an error with a barmeno font...
with all other fonts it works fine...
the same ttf file works with TTFReader for fop 0.20.5
any idea? here the debug info...

TTF Reader for Apache FOP 0.95

Parsing font...
Reading Barmeno-Bold.ttf...
sfnt version: OpenType 1.0
Reading 14 dir tables
dir tables: [loca, post, glyf, fpgm, kern, hmtx, hhea, prep, cvt , OS/2, 
cmap, name, head, maxp]
unit per em: 1000
Number of glyphs in font: 399
hhea.Ascender: 865 865
hhea.Descender: -250 -250
Number of horizontal metrics: 399
PostScript format: 0x20000
PostScript format 2
Reading 396 glyphnames, that are not in the standard Macintosh set. 
Total number of glyphs=399
sTypoAscender: 776 776
sTypoDescender: -243 -243
sTypoLineGap: 150
usWinAscent: 953 953
usWinDescent: 250 250
Error while building XML font metrics file.
java.io.EOFException: Reached EOF, file size=88952 offset=88958
         at org.apache.fop.fonts.truetype.TTFFile.readOS2(TTFFile.java:1016)
         at org.apache.fop.fonts.truetype.TTFFile.readFont(TTFFile.java:495)
         at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:209)
         at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:164)

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message