Sebastein

I will try and look at these at home... a quick suggestion
though, that you can try, is to use <element style="">
for doing the styling and adding all the fonts, aligments
etc as normal CSS style elements.  Personally, I prefer
using a stylesheet and the <element class=""> as this
is easier to maintain.

Derek


>>> [EMAIL PROTECTED] 2004/07/05 03:28:14 PM >>>
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] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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

Reply via email to