xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lberna...@apache.org
Subject svn commit: r1434992 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/render/java2d/Java2DPainter.java
Date Fri, 18 Jan 2013 00:39:39 GMT
Author: lbernardo
Date: Fri Jan 18 00:39:39 2013
New Revision: 1434992

URL: http://svn.apache.org/viewvc?rev=1434992&view=rev
Log:
FOP-2187: Generating pdf works awt & png crashes when overflow hidden

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/render/java2d/Java2DPainter.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/java2d/Java2DPainter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/java2d/Java2DPainter.java?rev=1434992&r1=1434991&r2=1434992&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/java2d/Java2DPainter.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/java2d/Java2DPainter.java Fri Jan
18 00:39:39 2013
@@ -130,7 +130,9 @@ public class Java2DPainter extends Abstr
         saveGraphicsState();
         try {
             concatenateTransformationMatrix(transform);
-            clipRect(clipRect);
+            if (clipRect != null) {
+                clipRect(clipRect);
+            }
         } catch (IOException ioe) {
             throw new IFException("I/O error in startViewport()", ioe);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message