Author: jeremias
Date: Fri Apr  3 07:44:09 2009
New Revision: 761554

URL: http://svn.apache.org/viewvc?rev=761554&view=rev
Log:
Fixed a bug that left the PrintRenderer unconfigured even if a configuration 
was specified for "application/X-fop-print". 

Modified:
    
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/print/PrintRenderer.java
    xmlgraphics/fop/trunk/status.xml

Modified: 
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/print/PrintRenderer.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/print/PrintRenderer.java?rev=761554&r1=761553&r2=761554&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/print/PrintRenderer.java 
(original)
+++ 
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/print/PrintRenderer.java 
Fri Apr  3 07:44:09 2009
@@ -25,6 +25,7 @@
 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 @@
         printerJob.setPageable(this);
     }
 
+    /** {...@inheritdoc} */
+    public String getMimeType() {
+        return MimeConstants.MIME_FOP_PRINT;
+    }
+
     private void initializePrinterJob() {
         if (this.printerJob == null) {
             printerJob = PrinterJob.getPrinterJob();

Modified: xmlgraphics/fop/trunk/status.xml
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?rev=761554&r1=761553&r2=761554&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Fri Apr  3 07:44:09 2009
@@ -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>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to