It's a bug with the Mac JVM. You can work around it with:
System.setProperty("apple.awt.graphics.UseQuartz", "false");Credit goes to whoever posted that on this list originally! Michael -----Original Message----- From: Thomy [mailto:[email protected]] Sent: Thursday, September 17, 2009 11:07 AM To: [email protected] Subject: JSVGCanvas SVG display only partial document on MAC OS 10.5 Hi all, I discover today a problem (or a bug ?) with JSVGCanvas on Mac OS. I use this component in a java application with create a SVG document by a rendering engine which analyze an XML input. I have polygon with some text inside of them. Here is an example of the doc : <g id="1253193093250"> <polygon fill="none" stroke-width="2" id="P1253193093250" points="738,3684 2096,3335 2127,3195 2498,3096 2525,2960 2666,2942 2675,3625 743,4177" stroke="rgb(0,0,0)" /> <g id="LTXT15410339_2"> <text x="2098.0" font-size="53.928772" y="3319.0" transform="rotate(-13.0 2098.0 3319.0)" fill="black" font-family="Verdana" xml:space="preserve">– Le lac, maintenant,</text> </g> <g id="LTXT17561525_3"> <text x="737.0" font-size="53.928772" y="3724.0" transform="rotate(-13.0 737.0 3724.0)" fill="black" font-family="Verdana" xml:space="preserve">semblait en lappis-lazzuli ; – α à sa pointe meridionale, du côté de l'Yemen,</text> </g> </g> I've tested this application on Windows, Linux and Mac 10.4 (all with jdk 5 and 6) without any problem. But one of my user report to me that the Mac OS 1.5 only display polygon elements and no text or line element. Is there a know batik bug which can explain that ? -- View this message in context: http://www.nabble.com/JSVGCanvas-SVG-display-only-partial-document-on-MAC-OS-10.5-tp25491937p25491937.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]
smime.p7s
Description: S/MIME cryptographic signature
