diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/embedding/build.xml | 2 | ||||
-rw-r--r-- | examples/embedding/java/embedding/ExampleJava2D2PDF.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/embedding/build.xml b/examples/embedding/build.xml index 405c49506..8356445c1 100644 --- a/examples/embedding/build.xml +++ b/examples/embedding/build.xml @@ -69,7 +69,7 @@ <!-- =================================================================== --> <target name="compile" depends="prepare" description="Compiles the examples"> <echo message="Compiling the sources"/> - <javac srcdir="${src.dir}" destdir="${build.dest}" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}"> + <javac srcdir="${src.dir}" destdir="${build.dest}" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}" includeAntRuntime="true"> <classpath refid="project.class.path"/> </javac> </target> diff --git a/examples/embedding/java/embedding/ExampleJava2D2PDF.java b/examples/embedding/java/embedding/ExampleJava2D2PDF.java index 907aaeab5..7a9b12cd0 100644 --- a/examples/embedding/java/embedding/ExampleJava2D2PDF.java +++ b/examples/embedding/java/embedding/ExampleJava2D2PDF.java @@ -66,7 +66,8 @@ public class ExampleJava2D2PDF { throws ConfigurationException { PDFDocumentGraphics2DConfigurator configurator = new PDFDocumentGraphics2DConfigurator(); - configurator.configure(g2d, cfg); + boolean useComplexScriptFeatures = false; + configurator.configure(g2d, cfg, useComplexScriptFeatures); } /** |