aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorLuis Bernardo <lbernardo@apache.org>2013-10-28 23:33:07 +0000
committerLuis Bernardo <lbernardo@apache.org>2013-10-28 23:33:07 +0000
commitadfb500608ab08eb687b0d8047c9042b6a9a5170 (patch)
tree8e8b5ec487b8014886280b4012132fcf5c9d6b5b /src/java/org/apache/fop
parente82827107f0da059d01837b72d64dba1029f2b2e (diff)
downloadxmlgraphics-fop-adfb500608ab08eb687b0d8047c9042b6a9a5170.tar.gz
xmlgraphics-fop-adfb500608ab08eb687b0d8047c9042b6a9a5170.zip
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
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/cli/CommandLineOptions.java3
1 files changed, 0 insertions, 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);