Hi there. I have now been using batik for some time. I do not work with the interactive aspect of svg as such, but merely need to understand how the coordinates relate to each other. I experience difficulties when trying to position text correctly in svg. My case is this : I have a placeholdere which have width and height and is added as a symbol in svg (from illustrator) This placeholder will be replaced with text. Sometimes several lines of text are added and i use the <tspan tag> to do this. My issue is that the text does not appear although i have merely replaced the elements within the symbol to be text nodes and not as before rectangle. It seems that it starts from the bottom and not from the top (is this right?)
Is there some easy way to work with multiline text or text in general? In my case I have to manipulate the matrix (1 0 0 1 tx ty) to have this sucessfully display the text. If the text is singleline however my matrix becomes (1 0 0 -1 tx ty).. Thanks for listening (again!) Lars