thomas.deweese wrote: > > Hi AhhAhh, > > ahhahh <[email protected]> wrote on 10/01/2009 04:26:12 AM: > >> My svg files are quite big (85 KBs), created with CorelDraw. They are >> static, just some boxes and text. > > Those aren't big ;) > Is the JSVGCanvas set to be static? I'm fairly sure it is. > It looks like the tile cache is getting messed up. The simplest > thing to try would be to set the canvas to ALWAYS_DYNAMIC. This > will switch away from the tile cache renderer to the dynamic renderer > (which is actually much simpler). >
That's a good point. I have the setDocumentState(JSVGComponent.ALWAYS_DYNAMIC); commented im the code, so I guess Batik will detect my svg as static. >> I attach 2 gif files, one showing the bad rendering (almost always the >> problem arises after resizing), and the other with how it should look >> when the rendering is ok. > > The bottom right most tile (the tiles are 256x256 pixels) this appears > to be being 'reused' for any 'new' tiles that needed rendering due to the > scroll. > If you want to try and work the problem from your end it's probably down > in the batik.ext.awt.image.rendered.AbstractTiledRed. > The problem is I can't replicate the error, as the rendering is perfect in every machine I have tested. I've been trying to find a way to get detailed Batik logs without recompiling the code with no success. >> I have over 3000 users with no problems, and 6 which suffer this bad >> rendering, but 4 of them have arised in the last two weeks, so I'm > afraid >> the number will increase in the future. > > Do you know what OS they are on? > > They are all on Windows XP (as the vast mayority of my users), some with SP2 and some with SP3. They all began having problems when they updated the JRE past version 6u10 (even to the newest 6u16), and all of them resolved the problem going back to 6u7. This is an example of one of my svg. I have reduced it by deleting most of the lines and text. http://www.nabble.com/file/p25696843/D-1A-R00v05112801.svg D-1A-R00v05112801.svg I'm gonna try the ALWAYS_DYNAMIC hint. It may be a few days/weeks before I get some feedback from my users, as they are reluctant to install/reinstall JREs if not really necesary for their needs. Or maybe I'm 'lucky' and find another problematic user soon. ;) Thanks a lot to both. Aurora -- View this message in context: http://www.nabble.com/Help-tracing-a-rendering-problem-in-JSVGCanvas-tp25680000p25696843.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]
