diff options
Diffstat (limited to 'src/java/org/apache/fop/render/pcl/PCLGenerator.java')
-rw-r--r-- | src/java/org/apache/fop/render/pcl/PCLGenerator.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/pcl/PCLGenerator.java b/src/java/org/apache/fop/render/pcl/PCLGenerator.java index 7b3878627..05045b7e7 100644 --- a/src/java/org/apache/fop/render/pcl/PCLGenerator.java +++ b/src/java/org/apache/fop/render/pcl/PCLGenerator.java @@ -715,6 +715,7 @@ public class PCLGenerator { boolean monochrome = isMonochromeImage(img); if (!monochrome) { //Transparency mask disabled. Doesn't work reliably + /* final boolean transparencyDisabled = true; RenderedImage mask = (transparencyDisabled ? null : getMask(img, effDim)); if (mask != null) { @@ -724,11 +725,12 @@ public class PCLGenerator { paintMonochromeBitmap(mask, effResolution); popCursorPos(); } + */ RenderedImage red = BitmapImageUtil.convertToMonochrome( img, effDim, this.ditheringQuality); selectCurrentPattern(0, 0); //Solid black - setTransparencyMode(sourceTransparency || mask != null, true); + setTransparencyMode(sourceTransparency /*|| mask != null*/, true); paintMonochromeBitmap(red, effResolution); } else { RenderedImage effImg = img; |