diff options
-rw-r--r-- | src/org/apache/fop/image/analyser/EPSReader.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/apache/fop/image/analyser/EPSReader.java b/src/org/apache/fop/image/analyser/EPSReader.java index 60a6c5624..a0060b58c 100644 --- a/src/org/apache/fop/image/analyser/EPSReader.java +++ b/src/org/apache/fop/image/analyser/EPSReader.java @@ -176,7 +176,8 @@ public class EPSReader implements ImageReader { int nidx = idx; while (nidx < data.epsFile.length && - (data.epsFile[nidx] >= 48 && data.epsFile[nidx] <= 57)) + ((data.epsFile[nidx] >= 48 && data.epsFile[nidx] <= 57) || + (data.epsFile[nidx] == 45))) nidx++; byte[] num = new byte[nidx - idx]; |