From bf41f666cc7766156ab2796674df0e99e86680f8 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 8 Jun 2001 08:58:22 +0000 Subject: [PATCH] gives it the correct size git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194284 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/image/analyser/SVGReader.java | 4 ++-- 1 file 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()); -- 2.39.5