aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/xmlgraphics-commons-1.4svn.jarbin549062 -> 549046 bytes
-rw-r--r--src/java/org/apache/fop/render/ps/PSDocumentHandler.java3
-rw-r--r--src/java/org/apache/fop/render/ps/PSRenderer.java2
-rw-r--r--status.xml3
4 files changed, 5 insertions, 3 deletions
diff --git a/lib/xmlgraphics-commons-1.4svn.jar b/lib/xmlgraphics-commons-1.4svn.jar
index 68a476c9a..7734e197e 100644
--- a/lib/xmlgraphics-commons-1.4svn.jar
+++ b/lib/xmlgraphics-commons-1.4svn.jar
Binary files differ
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>