]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Improved use of logging
authorAdrian Cumiskey <acumiskey@apache.org>
Wed, 5 Dec 2007 17:15:46 +0000 (17:15 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Wed, 5 Dec 2007 17:15:46 +0000 (17:15 +0000)
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

index 7b5c671ed207a42d2e760176ac8b18c59e0da01d..b0ae29067547d6f5b6dda6acb6ceb9b2b2cdd709 100644 (file)
@@ -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());