DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15877>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15877 TTFReader crashes with certain TTF files Summary: TTFReader crashes with certain TTF files Product: Fop Version: all Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When executing the following with java 1.4 on Windows NT (SP6) with any FOP version from 20.3 to 20.5rc, the true type font produces this error. This only happens with certain true type files, while others are fine. This specific example is using the Frutiger true type font file. For only the purpose of reproducing the error, the true type file can be download from www.syrebral.com/files/Ftr_____.ttf E:\fop\fop-0.20.5rc>java -cp build\fop.jar;lib\xercesImpl-2.2.1.jar;lib\xml-apis .jar;lib\xalan-2.4.1.jar;lib\batik.jar org.apache.fop.fonts.apps.TTFReader fonts \Ftr_____.ttf ftrttf__.xml TTF Reader v1.1.1 Reading fonts\Ftr_____.ttf... Number of glyphs in font: 229 java.lang.ArrayIndexOutOfBoundsException at org.apache.fop.fonts.TTFFile.readPostscript(TTFFile.java:739) at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:380) at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:178) at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:140) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]