Well, it almost certainly is generic misuse of Batik - but the DOM isn't
actually being touched at all (to my knowledge anyway).  The only thing
being altered in the JSVGCanvas is the setRenderingTransform.

And the canvas itself always displays perfectly, the problem is in the image
I'm trying to paint it onto.


Helder Magalhães wrote:
> 
>> The problem is that while sometimes it renders perfectly, as the
>> transform
>> changes various parts of the SVG image fail to be drawn onto the
>> BufferedImage and you get weird effects.  The most common thing is for
>> the
>> text elements to be missing, but sometimes it misses out other parts of
>> the
>> image too.  This isn't a predictable thing, it doesn't seem to be
>> replicatable per se - sometimes a given transform will work, sometimes it
>> won't!  The first screenshot shows it working as intended, the second
>> shows
>> it with a problem...
> 
> Weird/unpredictable behavior? This sounds like another attack of a
> general misuse of Batik [1] (I noticed several manipulations through
> code but I couldn't find any reference to the UpdateManager [2]). :-D
> 
> Sorry if my assumption is wrong (I only took a quick look at the code,
> no decent analysis made). ;-)
> 
> Hope this helps,
> 
>  Helder Magalhães
> 
> [1]
> http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/200811.mbox/[EMAIL
>  PROTECTED]
> [2] http://xmlgraphics.apache.org/batik/using/scripting/java.html#Threads
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Batik-rendering-issues-tp20682211p20684261.html
Sent from the Batik - Users mailing list archive at Nabble.com.


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

Reply via email to