From: Luis Bernardo Date: Mon, 28 Oct 2013 23:33:07 +0000 (+0000) Subject: FOP-2305: Poor resolution of PCL output in trunk vs. 1.1; target-resolution was being... X-Git-Tag: fop-2_0~172 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=adfb500608ab08eb687b0d8047c9042b6a9a5170;p=xmlgraphics-fop.git 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 --- 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);