From adfb500608ab08eb687b0d8047c9042b6a9a5170 Mon Sep 17 00:00:00 2001 From: Luis Bernardo Date: Mon, 28 Oct 2013 23:33:07 +0000 Subject: [PATCH] FOP-2305: Poor resolution of PCL output in trunk vs. 1.1; target-resolution was being overridden by default value git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1536556 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/cli/CommandLineOptions.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java index a216e6b3c..41fcdcac5 100644 --- a/src/java/org/apache/fop/cli/CommandLineOptions.java +++ b/src/java/org/apache/fop/cli/CommandLineOptions.java @@ -176,9 +176,6 @@ public class CommandLineOptions { //Factory config is set up, now we can create the user agent foUserAgent = factory.newFOUserAgent(); foUserAgent.getRendererOptions().putAll(renderingOptions); - if (targetResolution != 0) { - foUserAgent.setTargetResolution(targetResolution); - } addXSLTParameter("fop-output-format", getOutputFormat()); addXSLTParameter("fop-version", Version.getVersion()); foUserAgent.setConserveMemoryPolicy(conserveMemoryPolicy); -- 2.39.5