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=14576>. 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=14576 [PATCH] fsize in FontFileReader is not set ------- Additional Comments From [EMAIL PROTECTED] 2002-11-18 10:04 ------- Sorry, I forgot to send attchment. I'm at work now, and I can access the CVS now. I can send a patch at 7PM CET. but it so easy that I dive the detail here in package org.apache.fop.fonts, class FontFileReader, you must add the following line this.fsize= this.file.length; in the private void init(InputStream in) method. It must be like this: private void init(InputStream in) throws java.io.IOException { java.io.ByteArrayOutputStream bout = new java.io.ByteArrayOutputStream (); try { copyStream(in, bout); this.file = bout.toByteArray(); this.fsize= this.file.length; // PATCH to avoid EOFException } finally { bout.close(); } } many thanks ansd sorry for the attachment, Bernard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
