Yes I've done it (drawing a rectangle), even text but with the method drawString, from a Graphics2D component. I can send graphics2D objects, but is it possible to create a text element, fix attributes, and then put the element into svg document, without using graphics2D? Laurent
> Were you able to send non-text items in the SVG Document--e.g., a simple > rectangle, circle, etc.? > I don't know if your problem is that you just can't send *text*, or if > you can't send anything; the latter may indicate problems not related to > SVG. > > Glen > > Laurent FALLET schrieb: > >>Hello, >>I'm starting with Batik, and I'm trying to do a servlet sending a svg >> document to a client. I want to put a text in this SVG. I tried with a >> graphics2D, but without success... the SVG document seems to be empty. >> Is there a simple way to draw text? >>Could anyone give a little piece of code? >>Thanks, >>Laurent >> >> >> > > > --------------------------------------------------------------------- To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Laurent FALLET - [EMAIL PROTECTED] Elève-ingénieur à l'INSA de Rouen - http://asi.insa-rouen.fr/~lfallet/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]