Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Generate font metrics file

Generate font metrics file

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??

RE: Generate font metrics file

[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.
  ... 1>fontmetricslog.txt 2>&1

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close