diff options
Diffstat (limited to 'src/org/apache/fop/image')
-rw-r--r-- | src/org/apache/fop/image/analyser/SVGReader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/image/analyser/SVGReader.java b/src/org/apache/fop/image/analyser/SVGReader.java index 31e01e015..b47aab310 100644 --- a/src/org/apache/fop/image/analyser/SVGReader.java +++ b/src/org/apache/fop/image/analyser/SVGReader.java @@ -48,9 +48,9 @@ public class SVGReader extends AbstractImageReader { // should check the stream contains text data SVGSVGElement svg = doc.getRootElement(); this.width = - (int) svg.getWidth().getBaseVal().getValue() * 1000; + (int) svg.getWidth().getBaseVal().getValue(); this.height = - (int) svg.getHeight().getBaseVal().getValue() * 1000; + (int) svg.getHeight().getBaseVal().getValue(); return true; } catch (Exception e) { MessageHandler.errorln("ERROR LOADING EXTERNAL SVG: " + e.getMessage()); |