thank you so much for your solution thomas

=)


thomas.deweese wrote:
> 
> Hi Pires,
> 
> pires7 <[EMAIL PROTECTED]> wrote on 12/12/2006 07:34:25 AM:
> 
>> <text font-family='Verdana' fill='black'> 
>> <textPath xlink:href='#scotts road2' startOffset='34.39907702479869%'
>> clip-path='url(#clip1)' font-size='4' dy='1'>SCOTTS ROAD</textPath>
>> </text>
> 
>     Here is your problem, textPath doesn't have a 'dy' attribute:
> 
>         http://www.w3.org/TR/SVG11/text.html#TextPathElement
> 
> You need to wrap your text in a tspan (inside the textPath) if 
> you want to apply 'dy'.
> 
> 
>   <text font-family='Verdana' fill='black'
>     ><textPath xlink:href='#scotts road2' startOffset='34.39907702479869%'
>                clip-path='url(#clip1)' font-size='4'
>     ><tspan dy='1'>SCOTTS ROAD</tspan></textPath></text>
> 
>> i tried opening this svg file with IE browser and the Squiggle browser
>> provided by batik 1.6.
>> As i made changes to the dy attribute of the text element ranging from 
> dy =
>> 0 to 4,
>> Only the IE browser shows the corresponding changes, but it does not 
> affect
>> the text (SCOTTS ROAD) in the Squiggle browser. 
>> Thanks
>> 
>> 
>> thomas.deweese wrote:
>> > 
>> > Hi Pires7,
>> > 
>> >      Generally, Batik handles 'dy' on text well.  Perhaps you could 
> post 
>> > an example that shows
>> > the problem?
>> > 
>> > pires7 <[EMAIL PROTECTED]> wrote on 12/12/2006 02:54:22 AM:
>> > 
>> >> I am a student working on my final year project using SVG and Java.
>> >> I realise there is a difference when i open an SVG file using the 
>> > Internet
>> >> Explorer (IE) Browser and when i open it using the Squiggle (SVG 
>> > Browser)
>> >> The 'dy' attribute value of the text element will affect the position 
> of 
>> > the
>> >> text when i open using IE Browser, however when i open using the 
>> > Squiggle,
>> >> the dy value does not affect the text position at all after i made 
>> > changes
>> >> to it.
>> >> 
>> >> It seems that the position of the text (dy attribute) is set to a 
>> > default
>> >> value of '0'.
>> >> Please kindly advise if i am correct and is there anyway to overcome 
>> > this
>> >> problem.
>> > 
>> > 
>> 
>> -- 
>> View this message in context: http://www.nabble.com/Query-regarding-
>> dy-attribute-of-the-text-element-tf2806060.html#a7832332
>> Sent from the Batik - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Query-regarding-dy-attribute-of-the-text-element-tf2806060.html#a7834560
Sent from the Batik - Users mailing list archive at Nabble.com.


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

Reply via email to