>>>>> "H" == 呉 ゴウ <[EMAIL PROTECTED]> writes:

H> But we can't update to batik1.5 now for customer requirement.

   This is unfortunate...

H> Would you like to tell me the detail about the bug?  (which java
H> file contain the bug? or what is the reason the bug injected?)  so
H> we may modify it to adapt jdk1.4.1.  Thank you again.

   From memory the problem is in
batik.transcoder.image.JPEGTranscoder.  In that class we get a
Graphics2D from a BufferedImage and we called 'dispose()' on the
object after drawing the background color (white) but before drawing
the SVG, simply moving the call to dispose after drawing the SVG (the
call to drawRenderedImage) fixes the bug.

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

Reply via email to