diff options
Diffstat (limited to 'src/java/org/apache/fop/render/bitmap')
-rw-r--r-- | src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java b/src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java index 38911a9e9..374fa5833 100644 --- a/src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java +++ b/src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java @@ -229,7 +229,8 @@ public abstract class AbstractBitmapDocumentHandler extends AbstractBinaryWritin } //Set up bitmap to paint on - if (currentImage == null || currentImage.getWidth() != bitmapWidth || currentImage.getHeight() != bitmapHeight) { + if (currentImage == null || currentImage.getWidth() != bitmapWidth + || currentImage.getHeight() != bitmapHeight) { currentImage = createBufferedImage(bitmapWidth, bitmapHeight); } Graphics2D graphics2D = this.currentImage.createGraphics(); |