]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
fixed the fact that -nocs was not being applied
authorLuis Bernardo <lbernardo@apache.org>
Wed, 19 Dec 2012 22:01:38 +0000 (22:01 +0000)
committerLuis Bernardo <lbernardo@apache.org>
Wed, 19 Dec 2012 22:01:38 +0000 (22:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1424164 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/cli/CommandLineOptions.java

index 7a11df71a5ef6182780783ca79f3b10319136ba7..9e83400f679549c915864faeb295818e280b049e 100644 (file)
@@ -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);
             }
         }