git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@496860 13f79535-47bb-0310-9956-ffa450edef68tags/fop-0_94
@@ -82,7 +82,7 @@ public class FontFileReader { | |||
* @throws IOException In case of an I/O problem | |||
*/ | |||
public void seekSet(long offset) throws IOException { | |||
if (offset >= fsize || offset < 0) { | |||
if (offset > fsize || offset < 0) { | |||
throw new java.io.EOFException("Reached EOF, file size=" + fsize | |||
+ " offset=" + offset); | |||
} |