]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-2305: Poor resolution of PCL output in trunk vs. 1.1; target-resolution was being...
authorLuis Bernardo <lbernardo@apache.org>
Mon, 28 Oct 2013 23:33:07 +0000 (23:33 +0000)
committerLuis Bernardo <lbernardo@apache.org>
Mon, 28 Oct 2013 23:33:07 +0000 (23:33 +0000)
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

index a216e6b3c6677eabb65e3cce44d423d5a1f0ccd3..41fcdcac5f294572eebfcc039a855036d8d3b3a5 100644 (file)
@@ -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);