I have to create metrics file for Barcode128C.TTF font because I would like
to
generate barcode with FOP. 

Please help me: How can I create metrics file or CMAP table for TTF font

If I try to generate metrics file with FOP I get an error message:


TTF Reader for Apache FOP 0.95

Parsing font...
Reading C:\windows\fonts\Barcode128C.TTf...
sfnt version: OpenType 1.0
Reading 14 dir tables
dir tables: [PCLT, loca, post, glyf, fpgm, hmtx, hhea, prep, cvt , OS/2,
cmap, n
ame, head, maxp]
unit per em: 1000
Number of glyphs in font: 132
hhea.Ascender: 1498 1498
hhea.Descender: -364 -364
Number of horizontal metrics: 132
PostScript format: 0x20000
PostScript format 2
Reading 2 glyphnames, that are not in the standard Macintosh set. Total
number o
f glyphs=132
sTypoAscender: 1498 1498
sTypoDescender: -364 -364
sTypoLineGap: 97
usWinAscent: 1498 1498
usWinDescent: 364 364
sxHeight: 0
sCapHeight: 500
Font box height: 1862
Ascender and descender together are larger than the em box. This could lead
to a
 wrong baseline placement in Apache FOP.
1 0 0 1 Barcode 128C
1 0 0 2 Regular
1 0 0 3 Barcode 128C
1 0 0 4 Barcode 128C
1 0 0 6 Barcode 128C
3 0 1033 1 Barcode 128C
3 0 1033 2 Regular
3 0 1033 3 Barcode 128C
3 0 1033 4 Barcode 128C
3 0 1033 6 Barcode 128C
xHeight from PCLT: 1498 1498
capHeight from PCLT: 1498 1498
3 cmap tables
Platform ID: 0 Encoding: 0
Platform ID: 1 Encoding: 0
Platform ID: 3 Encoding: 0
Unsupported TrueType font: Unicode cmap table not present. Aborting

XML font metrics file successfully created.


-- 
View this message in context: 
http://old.nabble.com/How-to-create-CMAP-table-for-Barcode128C.TTF-font-tp27026859p27026859.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to