diff options
author | Luis Bernardo <lbernardo@apache.org> | 2012-12-19 22:01:38 +0000 |
---|---|---|
committer | Luis Bernardo <lbernardo@apache.org> | 2012-12-19 22:01:38 +0000 |
commit | 0f1c352c3ba08857376fcea910534f016c536152 (patch) | |
tree | d217bb5207853138cba0e961e078ae4abcb74cca /src/java/org/apache/fop/cli | |
parent | dac3a6d0f2b80b945863daf4450c25021261d583 (diff) | |
download | xmlgraphics-fop-0f1c352c3ba08857376fcea910534f016c536152.tar.gz xmlgraphics-fop-0f1c352c3ba08857376fcea910534f016c536152.zip |
fixed the fact that -nocs was not being applied
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1424164 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/cli')
-rw-r--r-- | src/java/org/apache/fop/cli/CommandLineOptions.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java index 7a11df71a..9e83400f6 100644 --- a/src/java/org/apache/fop/cli/CommandLineOptions.java +++ b/src/java/org/apache/fop/cli/CommandLineOptions.java @@ -1057,7 +1057,8 @@ public class CommandLineOptions { if (!strictValidation) { fopFactoryBuilder.setStrictFOValidation(strictValidation); } - if (useComplexScriptFeatures) { + if (!useComplexScriptFeatures) { + // note: by default cs is enabled so we need to disable it fopFactoryBuilder.setComplexScriptFeatures(useComplexScriptFeatures); } } |