aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2007-12-05 17:15:46 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2007-12-05 17:15:46 +0000
commit8f7afa44a22a52d98516576bbb6877f15ecf8294 (patch)
tree7f2c63a3dd5210e05fee672b79e3294c28bb4002 /src/java/org/apache/fop/render
parente57250bdc41a344243ded04d3edfb9a1fbb89922 (diff)
downloadxmlgraphics-fop-8f7afa44a22a52d98516576bbb6877f15ecf8294.tar.gz
xmlgraphics-fop-8f7afa44a22a52d98516576bbb6877f15ecf8294.zip
Improved use of logging
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601419 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render')
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFSVGHandler.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFSVGHandler.java b/src/java/org/apache/fop/render/pdf/PDFSVGHandler.java
index 7b5c671ed..b0ae29067 100644
--- a/src/java/org/apache/fop/render/pdf/PDFSVGHandler.java
+++ b/src/java/org/apache/fop/render/pdf/PDFSVGHandler.java
@@ -154,10 +154,8 @@ public class PDFSVGHandler extends AbstractGenericSVGHandler
int xOffset = pdfInfo.currentXPosition;
int yOffset = pdfInfo.currentYPosition;
- log.debug("Generating SVG at "
- + context.getUserAgent().getTargetResolution()
- + "dpi.");
final float deviceResolution = context.getUserAgent().getTargetResolution();
+ log.debug("Generating SVG at " + deviceResolution + "dpi.");
final float uaResolution = context.getUserAgent().getSourceResolution();
SVGUserAgent ua = new SVGUserAgent(25.4f / uaResolution, new AffineTransform());