summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-03-02 19:02:16 +0000
committerGlenn Adams <gadams@apache.org>2012-03-02 19:02:16 +0000
commitef3c0ef8b860cccb6965873b9dcd98454a7cd46e (patch)
tree36ecc1df1f6ef6c400ce3ee4afeab371f96044bb /examples
parentbeca087f252dd5c97a524f041a1f6d3d112734e0 (diff)
downloadxmlgraphics-fop-ef3c0ef8b860cccb6965873b9dcd98454a7cd46e.tar.gz
xmlgraphics-fop-ef3c0ef8b860cccb6965873b9dcd98454a7cd46e.zip
fix breakage caused by CS patch
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296385 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples')
-rw-r--r--examples/embedding/build.xml2
-rw-r--r--examples/embedding/java/embedding/ExampleJava2D2PDF.java3
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);
}
/**