You shoud you use some like:

java -cp build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\commons-logging-1.0.4.jar;lib\commons-io-1.1.jar org.apache.fop.fonts.apps.TTFReader

?? the jars have version numbers in...

Dirk

kralik wrote:
Hi,
I am trying to create font metrics file for FOP Trunk. I use the following
command:

java org.apache.fop.fonts.apps.TTFReader C:\myfont\times.ttf
C:\FopTrunk\conf\my_new_font.xml

In my CLASSPATH I have:
C:\FopTrunk\build\fop.jar;C:\FopTrunk\lib\avalon-framework.jar;C:\FopTrunk\lib\xml-apis.jar;C:\FopTrunk\lib\xercesImpl.jar;C:\FopTrunk\lib\xalan.jar
and C:\myfont\times.ttf exists.

I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
        at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:109)

Where can be problem?

And is there any possibility then to copy text from PDF?

Thanks, Pavel Tyl
--
View this message in context: 
http://www.nabble.com/Error-while-creating-font-metric-file-t1563275.html#a4245353
Sent from the FOP - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to