From the error, it seems that the converter is trying to read beyond
the end of the file. Are you sure the TTF file is not corrupted? My
ARIALUNI.TTF file is 23.275.812 bytes in size (but that doesn't say
much, I don't know how to find out which version I have) and yours seems
bigger.
Can you try the same command with another font on your system? Do you
get the same error?
Cheers,
-- Abel Braaksma
xuan ngo wrote:
I was using my old metric file(fop 0.25) with fop 0.93
but fop 0.93 asked me to regenerate the metric file.
So I tried to generate the metric file for Arial
Unicode MS with fop 0.93 but it gives the error below.
Did I do something wrong?
Command executed:
==================
java -cp
build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\xalan-2.7.0.jar;lib\xercesImpl-2.7.1.jar;lib\xml-apis-1.3.02.jar;lib\commons-logging-1.0.4.jar;lib\commons-io-1.1.jar
org.apache.fop.fonts.apps.TTFReader
C:\WINDOWS\Fonts\ARIALUNI.TTF Arialuni.xml
Error Message returned:
==================
Parsing font...
Reading C:\WINDOWS\Fonts\ARIALUNI.TTF...
Number of glyphs in font: 51180
Error while building XML font metrics file.
java.io.EOFException: Reached EOF, file size=24131012
offset=24131012
Get news delivered with the All new Yahoo! Mail. Enjoy RSS feeds right
on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
---------------------------------------------------------------------
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]