diff options
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/embedding/java/embedding/intermediate/ExampleConcat.java b/examples/embedding/java/embedding/intermediate/ExampleConcat.java index a5765f49b..6b168f968 100644 --- a/examples/embedding/java/embedding/intermediate/ExampleConcat.java +++ b/examples/embedding/java/embedding/intermediate/ExampleConcat.java @@ -92,7 +92,7 @@ public class ExampleConcat { //Create an instance of the target document handler so the IFSerializer //can use its font setup IFDocumentHandler targetHandler = userAgent.getRendererFactory().createDocumentHandler( - userAgent, MimeConstants.MIME_PDF + ";mode=painter"); + userAgent, MimeConstants.MIME_PDF); //Create the IFSerializer to write the intermediate format IFSerializer ifSerializer = new IFSerializer(); @@ -150,7 +150,7 @@ public class ExampleConcat { FOUserAgent userAgent = fopFactory.newFOUserAgent(); //Setup target handler - String mime = MimeConstants.MIME_PDF + ";mode=painter"; + String mime = MimeConstants.MIME_PDF; IFDocumentHandler targetHandler = fopFactory.getRendererFactory().createDocumentHandler( userAgent, mime); diff --git a/examples/embedding/java/embedding/intermediate/ExampleStamp.java b/examples/embedding/java/embedding/intermediate/ExampleStamp.java index 860a75401..c5d1a12c5 100644 --- a/examples/embedding/java/embedding/intermediate/ExampleStamp.java +++ b/examples/embedding/java/embedding/intermediate/ExampleStamp.java @@ -73,7 +73,7 @@ public class ExampleStamp { FOUserAgent userAgent = fopFactory.newFOUserAgent(); //Setup target handler - String mime = MimeConstants.MIME_PDF + ";mode=painter"; + String mime = MimeConstants.MIME_PDF; IFDocumentHandler targetHandler = fopFactory.getRendererFactory().createDocumentHandler( userAgent, mime); diff --git a/test/java/org/apache/fop/intermediate/IFParserTestCase.java b/test/java/org/apache/fop/intermediate/IFParserTestCase.java index 8a0268aa6..15fc74bc9 100644 --- a/test/java/org/apache/fop/intermediate/IFParserTestCase.java +++ b/test/java/org/apache/fop/intermediate/IFParserTestCase.java @@ -88,7 +88,7 @@ public class IFParserTestCase extends AbstractIntermediateTestCase { /** {@inheritDoc} */ protected String getTargetMIME() { - return MimeConstants.MIME_PDF + ";mode=painter"; + return MimeConstants.MIME_PDF; } /** {@inheritDoc} */ |