From 0f1c352c3ba08857376fcea910534f016c536152 Mon Sep 17 00:00:00 2001 From: Luis Bernardo Date: Wed, 19 Dec 2012 22:01:38 +0000 Subject: 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 --- src/java/org/apache/fop/cli/CommandLineOptions.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/java/org/apache/fop/cli') 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); } } -- cgit v1.2.3