aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/image
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-06-08 08:58:22 +0000
committerKeiron Liddle <keiron@apache.org>2001-06-08 08:58:22 +0000
commitbf41f666cc7766156ab2796674df0e99e86680f8 (patch)
treed4d7392c541e902c3c3429f598d3a04d7034467e /src/org/apache/fop/image
parentcd186c768c6abfe516eb8006faacce99bb975bb1 (diff)
downloadxmlgraphics-fop-bf41f666cc7766156ab2796674df0e99e86680f8.tar.gz
xmlgraphics-fop-bf41f666cc7766156ab2796674df0e99e86680f8.zip
gives it the correct size
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194284 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/image')
-rw-r--r--src/org/apache/fop/image/analyser/SVGReader.java4
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());