git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804268 13f79535-47bb-0310-9956-ffa450edef68pull/37/head
/** {@inheritDoc} */ | /** {@inheritDoc} */ | ||||
public void paint(PaintingInfo paintInfo) throws IOException { | public void paint(PaintingInfo paintInfo) throws IOException { | ||||
RectanglePaintingInfo rectanglePaintInfo = (RectanglePaintingInfo)paintInfo; | RectanglePaintingInfo rectanglePaintInfo = (RectanglePaintingInfo)paintInfo; | ||||
if (rectanglePaintInfo.getWidth() <= 0 || rectanglePaintInfo.getHeight() <= 0) { | |||||
return; | |||||
} | |||||
int ditherMatrix = DitherUtil.DITHER_MATRIX_8X8; | int ditherMatrix = DitherUtil.DITHER_MATRIX_8X8; | ||||
Dimension ditherSize = new Dimension(ditherMatrix, ditherMatrix); | Dimension ditherSize = new Dimension(ditherMatrix, ditherMatrix); |
documents. Example: the fix of marks layering will be such a case when it's done. | documents. Example: the fix of marks layering will be such a case when it's done. | ||||
--> | --> | ||||
<release version="FOP Trunk" date="TBD"> | <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"> | <action context="Renderers" dev="CB" type="add"> | ||||
AFP Output: Added support for IMM Extension on fo:simple-page-master. | AFP Output: Added support for IMM Extension on fo:simple-page-master. | ||||
</action> | </action> |