When I experimented with jdk 1.4, I would up grabbing the latest 1.5 batik beta distribution and compiling "batik-all" and substituting that for the batik.jar file that came with cocoon 2.0. It cleared up a lot of errors I was getting earlier. Maybe this one will clear up too.
Rob ----- Original Message ----- From: "C. Gaffga" <[EMAIL PROTECTED]> To: "Cocoon Users" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: "Mathias" <[EMAIL PROTECTED]> Sent: Thursday, March 21, 2002 2:00 PM Subject: Problems with Java1.4 and svg2png > Hi, > > Since i upgraded my System I have Problems with the svg2png serializer in > cocoon. > > I'm using Redhat 7.2, Java1.4, Tomcat 4.0.1, Cocoon 2.0.1 > > When I serialize a SVG-file to PNG using the Batik libraries there are some > problems with rendering text. When I output a Text, saying "Test", and > another text, say "Test2", it write "Test" correct, but it writes "Test" > under the output of "Test2". It's a little bit difficult to explain, so I > attached the Image. > > I tryed with a rebuild version of Batik agains JDK1.4, but it's still the > same effect. > > Does anybody know, why this happens or if there are same problems whith > JDK1.4?? > How can I solve this?? > > Thanks in advance > Christoph Gaffga > [EMAIL PROTECTED] > > > P.S.: Im using no XServer, only Xvfb or java with -Djava.awt.headless=true, > both has the same effect. > > P.P.S.: The SVG-File, I used for the attached Picture: > <svg width="300" height="390"> > <text x="50" y="100" font-size="16" fill="black" > text-rendering="optimizeLegibility">Test2</text> > > <!-- Legende --> > <rect x="3" y="379" width="8" height="8" fill="chartreuse" stroke="black" > stroke-width="0.1" shape-rendering="geometricPrecision"/> > > <text x="13" y="387" font-size="9" fill="black" > text-rendering="optimizeLegibility">frei</text> > > <rect x="37" y="379" width="8" height="8" fill="tomato" stroke="black" > stroke-width="0.1" shape-rendering="geometricPrecision"/> > > <rect x="85" y="379" width="8" height="8" fill="silver" stroke="black" > stroke-width="0.1" shape-rendering="geometricPrecision"/> > > <!-- Copyright --> > <text x="196" y="387" font-size="9" fill="blue" > text-rendering="optimizeLegibility">© 2001 triplemind.com</text> > </svg> > > > ---------------------------------------------------------------------------- ---- > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>