git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804268 13f79535-47bb-0310-9956-ffa450edef68pull/37/head
@@ -55,6 +55,9 @@ public class AFPDitheredRectanglePainter extends AbstractAFPPainter { | |||
/** {@inheritDoc} */ | |||
public void paint(PaintingInfo paintInfo) throws IOException { | |||
RectanglePaintingInfo rectanglePaintInfo = (RectanglePaintingInfo)paintInfo; | |||
if (rectanglePaintInfo.getWidth() <= 0 || rectanglePaintInfo.getHeight() <= 0) { | |||
return; | |||
} | |||
int ditherMatrix = DitherUtil.DITHER_MATRIX_8X8; | |||
Dimension ditherSize = new Dimension(ditherMatrix, ditherMatrix); |
@@ -58,6 +58,9 @@ | |||
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="CB" type="fix" fixes-bug="47694"> | |||
Dithered Background Shading can produce illegal AFP if objects are very small | |||
</action> | |||
<action context="Renderers" dev="CB" type="add"> | |||
AFP Output: Added support for IMM Extension on fo:simple-page-master. | |||
</action> |