Ok, technically it seems to be correct,,,,,I checked with the W3C
recommendations.
For example, if I try this very simple code : in SVG no problem....but when I try with 
Batik, I obtain a blank pic (800 x 600) without the text !!!
In my case, I have to draw graphs in SVG thanks to a Java program. The main problems 
seems to concern text tag, the rest is good and work correctly.
For the text tag I obtain two different kind of results : first the text is displayed 
but not correctly (font, size, alignment not respected). Second
result : nothing is displayed !

For example, I don't manage to generate the pic associated with this part of code :

<svg width="800px" height="600px" xmlns="http://www.w3.org/2000/svg"; version="1.1">
<g font-family="Verdana" font-size="22">
<text x="400" y="250" fill="blue" text-anchor="middle">This is a simple sample</text>
</g>
</svg>

I've also tried :

<svg width="800px" height="600px" xmlns="http://www.w3.org/2000/svg"; version="1.1">
<g>
<text x="400" y="250" fill="blue" text-anchor="middle" font-family="Verdana" 
font-size="22">This is a simple sample</text>
</g>
</svg>

and finally :

<svg width="800px" height="600px" xmlns="http://www.w3.org/2000/svg"; version="1.1">
<text x="400" y="250" fill="blue" text-anchor="middle" font-family="Verdana" 
font-size="22">This is a simple sample</text>
</svg>

Why it doesn't work in PNG or JPEG conversion ?

Thanks,

Sebastien



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to