You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by solomailing <so...@gmail.com> on 2008/09/04 18:13:59 UTC

error creating ttf metrics

ciao,

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.FontFileReader.seekSet(FontFileReader.java:86)
         at 
org.apache.fop.fonts.truetype.FontFileReader.seekAdd(FontFileReader.java:99)
         at 
org.apache.fop.fonts.truetype.FontFileReader.skip(FontFileReader.java:109)
         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