Hi thomas.deweese,
Thanks for your quick reply. My SVG text is as follows:
<svg width='600' height='600' viewBox='0 0 230 230' xml:space='preserve'
version='1.1'
xmlns='http://www.w3.org/2000/svg'
xmlns:xlink='http://www.w3.org/1999/xlink'
xmlns:ev='http://www.w3.org/2001/xml-events'>
<rect width='230' height='190' fill='rgb(203,203,228)' stroke-width='0' />
<defs>
<clipPath id='clip1'>
<path d='M 0 0 L 0 300 L 300 300 L 300 0 Z' />
</clipPath>
</defs>
<defs>
<path id='scotts road2' altname='scotts road' d='
M3.4545454545454546,32.20000000000002
L21.636363636363637,56.80000000000001
L53.0,99.70000000000002
L72.54545454545455,125.8
L72.54545454545455,125.8 ' clip-path='url(#clip1)' />
</defs>
<use xlink:href='#scotts road2' altname='scotts road' fill='none'
stroke='rgb(252,233,3)' stroke-width='3.5'/>
<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>
</svg>
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]