diff options
-rw-r--r-- | src/java/org/apache/fop/render/print/PrintRenderer.java | 6 | ||||
-rw-r--r-- | status.xml | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/print/PrintRenderer.java b/src/java/org/apache/fop/render/print/PrintRenderer.java index 2eb2b07a2..315c12cf1 100644 --- a/src/java/org/apache/fop/render/print/PrintRenderer.java +++ b/src/java/org/apache/fop/render/print/PrintRenderer.java @@ -25,6 +25,7 @@ import java.io.IOException; import java.util.Map; import org.apache.fop.apps.FOUserAgent; +import org.apache.fop.apps.MimeConstants; /** * Renderer that prints through java.awt.PrintJob. @@ -70,6 +71,11 @@ public class PrintRenderer extends PageableRenderer { printerJob.setPageable(this); } + /** {@inheritDoc} */ + public String getMimeType() { + return MimeConstants.MIME_FOP_PRINT; + } + private void initializePrinterJob() { if (this.printerJob == null) { printerJob = PrinterJob.getPrinterJob(); diff --git a/status.xml b/status.xml index 5afc7f37e..cbac0a971 100644 --- a/status.xml +++ b/status.xml @@ -58,6 +58,10 @@ 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"> + Fixed a bug that left the PrintRenderer unconfigured even if a configuration was + specified for "application/X-fop-print". + </action> <action context="Renderers" dev="JM" type="fix" fixes-bug="46882" due-to="Yegor Kozlov"> Fixed the handling of CMYK colors in PDFGraphics2D. </action> |