From 8f7afa44a22a52d98516576bbb6877f15ecf8294 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Wed, 5 Dec 2007 17:15:46 +0000 Subject: [PATCH] Improved use of logging git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601419 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/pdf/PDFSVGHandler.java | 4 +--- 1 file changed, 1 insertion(+), 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()); -- 2.39.5