|
Hi Thomas, thanks for your reply, it put me on the right track. It was not the setMySize method, but I had to set the document to ALWAYS_DYNAMIC, and now the flickering is gone. BTW, it didn't appear in Squiggle. Regards, Irene [email protected] schrieb am 18.11.05 12:13:28:
Hi Irene,
I don't think I've seen Batik act in the manner you describe (flickering).
Will the files view fine in 'squiggle' the stand-alone viewer from Batik?
The flickering might be a Swing 'sizing' issue in the Applet, You might look at overriding the 'setMySize' method of the JSVGCanvas, to do nothing.
Irene Heinz <[EMAIL PROTECTED]> wrote on 11/18/2005 01:08:05 AM: > ... perhaps I should add that I use Batik to display the SVG. I can have a > look at all SVGs with the Adobe SVGViewer, and they are displayed without any problems. > > Irene > > Irene Heinz <[EMAIL PROTECTED]> schrieb am 17.11.05 15:49:49:
> > Hi all, > I have a problem displaying certain SVGs in my applet. The SVG is loading > correctly, but in doesn't finish rendering. It flickers, and the output is > telling me "Rendering... " forever, while CPU load is going up. > Here is the header of the SVG, if this is of any help: > <?xml version="1.0" standalone="no"?> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN" > "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd"> > <svg width="100%" height="100%" > viewBox="0 0 6736 4763" preserveAspectRatio="xMinYMin meet" kerning="0" xml: > space="preserve"> xmlns="http://www.w3.org/2000/svg" > xmlns:xlink="http:/
/www.w3.org/1999/xlink" > xmlns:svgmaker=! "http://www.svgmaker.com/svgns"> > <svgmaker:init width="594.0mm" height="420.0mm" viewBox="0 0 6736 4763" view="fit" > crop="none" cropWidth="473.2mm" cropHeight="419.8mm" cropBox="0 0 5366 4761"/> > <title>XXXXXXXX_Kommissionierung.dgn</title> > <desc> > Generated by SVGmaker V2 Version 2.01.5407.32 > JUN-22-2005, 15:40 > </desc> > > I compared it to the other SVGs which are working, and the main difference I > saw was the height of s! vgmaker:init. For the SVGs which render normally, the > height is a t 841mm, whereas it is at 420 for the flickering ones. But can > this make any difference? > Thanks for any help, > Irene >
> > [image removed] > > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt bei WEB.DE FreeMail: http:!
//f.web.de/?mc=021193 > > >
> > [image removed] > > Erweitern Sie FreeMail zu einem noch leistungsstarkeren E-Mail-Postfach!
> Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
|
|