I'd like to propose a patch which changes the behaviour of
GraphicsUtil.drawImage. By default, bigger images coming from filter
effects, for example, are tiled and then rendered to the destination.
I experienced ugly overlaps of these tiles within Acrobat Reader even
though I can't make out any rounding errors in the code and the
generated PDF code. So I changed GraphicsUtils so I can supply a
RenderingHint from the PDF and PS Graphics2D implementations so these
images get rendered in one step. A nice side-effect is that the
resulting PDFs get a lot smaller.

I've fixed up a ZIP with the patch and an SVG and resulting PDF that
shows the problem in Acrobat Reader 5 and 6.

http://cvs.apache.org/~jeremias/batik-tiling-patch.zip

WDYT?

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to