diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2009-04-30 13:43:51 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2009-04-30 13:43:51 +0000 |
commit | 88f28b18dc043093b0d97183b43ba24b2f370b20 (patch) | |
tree | d6c8fae776976624a5becc427c67196ef3763a35 | |
parent | 54bd1f47b3c90f6110d47d8a400602a9e4844b79 (diff) | |
download | xmlgraphics-fop-88f28b18dc043093b0d97183b43ba24b2f370b20.tar.gz xmlgraphics-fop-88f28b18dc043093b0d97183b43ba24b2f370b20.zip |
Bugfix: reset graphic state when a page is finished in PostScript.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@770223 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | lib/xmlgraphics-commons-1.4svn.jar | bin | 549062 -> 549046 bytes | |||
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSDocumentHandler.java | 3 | ||||
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSRenderer.java | 2 | ||||
-rw-r--r-- | status.xml | 3 |
4 files changed, 5 insertions, 3 deletions
diff --git a/lib/xmlgraphics-commons-1.4svn.jar b/lib/xmlgraphics-commons-1.4svn.jar Binary files differindex 68a476c9a..7734e197e 100644 --- a/lib/xmlgraphics-commons-1.4svn.jar +++ b/lib/xmlgraphics-commons-1.4svn.jar diff --git a/src/java/org/apache/fop/render/ps/PSDocumentHandler.java b/src/java/org/apache/fop/render/ps/PSDocumentHandler.java index b30d5f248..5a6db172a 100644 --- a/src/java/org/apache/fop/render/ps/PSDocumentHandler.java +++ b/src/java/org/apache/fop/render/ps/PSDocumentHandler.java @@ -435,8 +435,7 @@ public class PSDocumentHandler extends AbstractBinaryWritingIFDocumentHandler { /** {@inheritDoc} */ public void endPageContent() throws IFException { try { - //Show page - gen.writeln("showpage"); + gen.showPage(); } catch (IOException ioe) { throw new IFException("I/O error in endPageContent()", ioe); } diff --git a/src/java/org/apache/fop/render/ps/PSRenderer.java b/src/java/org/apache/fop/render/ps/PSRenderer.java index 19fcd8af8..09ea800f8 100644 --- a/src/java/org/apache/fop/render/ps/PSRenderer.java +++ b/src/java/org/apache/fop/render/ps/PSRenderer.java @@ -933,7 +933,7 @@ public class PSRenderer extends AbstractPathOrientedRenderer super.renderPage(page); //Show page - writeln("showpage"); + gen.showPage(); gen.writeDSCComment(DSCConstants.PAGE_TRAILER); if (page.hasExtensionAttachments()) { List extensionAttachments = page.getExtensionAttachments(); diff --git a/status.xml b/status.xml index e54410352..bc856a89c 100644 --- a/status.xml +++ b/status.xml @@ -58,6 +58,9 @@ documents. Example: the fix of marks layering will be such a case when it's done. --> <release version="FOP Trunk" date="TBD"> + <action context="Renderers" dev="JM" type="fix"> + Bugfix: reset graphic state when a page is finished in PostScript. + </action> <action context="Renderers" dev="JM" type="add"> Added setting to enable dithered painting of filled rectangles in AFP and PCL. </action> |