]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
fix breakage caused by CS patch
authorGlenn Adams <gadams@apache.org>
Fri, 2 Mar 2012 19:02:16 +0000 (19:02 +0000)
committerGlenn Adams <gadams@apache.org>
Fri, 2 Mar 2012 19:02:16 +0000 (19:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296385 13f79535-47bb-0310-9956-ffa450edef68

examples/embedding/build.xml
examples/embedding/java/embedding/ExampleJava2D2PDF.java

index 405c49506007db4d7b49a11307561da81239cb59..8356445c13f8f9462be80f88ba4e4c88d65b2506 100644 (file)
@@ -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>
index 907aaeab5a0d8d668632321f9177576334cc22e2..7a9b12cd01d1bae85cb290f2227d799fa9e52fee 100644 (file)
@@ -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);
     }
 
     /**