Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generate font metrics file

Status
Not open for further replies.

helid

Programmer
Mar 15, 2010
14
0
0
SE
Hello!
I use fop 1.0 and i want to generate a font-metrics file for the ttf 3of9 barcode:
java -cp build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\commons-logging-1.0.4.jar;lib\commons-io-1.3.1.jar org.apache.fop.fonts.apps.TTFReader 3of9.ttf 3of9.xml >fontmetricslog.txt

The message I get in my log file is:
TTF Reader for Apache FOP 1.0

Parsing font...
Reading 3of9.ttf...

I don´t get any 3of9.xml file!!!

When I try to generate the font metrics file in Fop v 0.95 I get this message:
TTF Reader for Apache FOP 0.95

Parsing font...
Reading 3of9.ttf...

When I try to generate the font metrics file in Fop v 0.20
I get the following message:
TTF Reader v1.1.1

Reading 3of9.ttf...

Number of glyphs in font: 218
Unicode cmap table not present

What´s wrong??
 
Hints
[1] You have to add also serializer-2.7.0.jar and xml-apis-ext-1.3.04.jar to the classpath.
[2] If you want to read the error, you should do the re-direction as well.
[tt] ... 1>fontmetricslog.txt 2>&1[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top