Lalitha Prasad wrote:
While generating font metrics file . I am getting the following exception:
[snip]
javax.xml.transform.TransformerException: java.io.FileNotFoundException:
file:\C
:\Java\fop-0.20.5\arialuni.xml (The filename, directory name, or volume
Ouch!
Try one of the following:
1. Create the mmetrics file in the local directory and move it later to
its final destination
java -cp
"fop.jar;avalon-framework.jar;xml-apis.jar;xercesImpl-2.2.1.jar;xalan-2.4.1.jar"
org.apache.fop.fonts.apps.TTFReader C:\Java\fop-0.20.5\Arialuni.ttf
arialuni.xml
2. Try a file URL for the metrics file:
java -cp
"fop.jar;avalon-framework.jar;xml-apis.jar;xercesImpl-2.2.1.jar;xalan-2.4.1.jar"
org.apache.fop.fonts.apps.TTFReader C:\Java\fop-0.20.5\Arialuni.ttf
file:///C:/Java/fop-0.20.5/arialuni.xml
J.Pietschmann