From: Adrian Cumiskey Date: Wed, 5 Dec 2007 17:15:46 +0000 (+0000) Subject: Improved use of logging X-Git-Tag: fop-0_95beta~250 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8f7afa44a22a52d98516576bbb6877f15ecf8294;p=xmlgraphics-fop.git Improved use of logging git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601419 13f79535-47bb-0310-9956-ffa450edef68 --- 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());