Browse Source

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
pull/37/head
Vincent Hennebert 15 years ago
parent
commit
13c48de1d9

BIN
lib/xmlgraphics-commons-1.4svn.jar View File


+ 1
- 2
src/java/org/apache/fop/render/ps/PSDocumentHandler.java View File

@@ -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);
}

+ 1
- 1
src/java/org/apache/fop/render/ps/PSRenderer.java View File

@@ -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();

+ 3
- 0
status.xml View File

@@ -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>

Loading…
Cancel
Save