Hi Thomas,

according to the specification [1] "<dasharray> contains a list of 
comma-separated (with optional white space)", so ommiting the commas 
actually is an error and neither Opera, Squiggle, Inkscape should render 
it ;-)

Firefox sticks to the spec, so add commas and everthing should be fine.

As far as Mars is concerned I have no idea. Is there still active 
development on the SVG-capabilities of this plugin?

[1] http://www.w3.org/TR/SVG11/painting.html#StrokeProperties

cheers,
klaus

[email protected] wrote:
> 
> 
> Hi all,
> 
> I'm experimenting with the Mars plugin for Adobe Reader and have some
> problems with the stroke-dasharray attribute. I have the following page:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <svg xmlns="http://www.w3.org/2000/svg <http://www.w3.org/2000/svg>"
> xmlns:xlink="http://www.w3.org/1999/xlink <http://www.w3.org/1999/xlink>">
> 
> <g stroke-width="4" stroke="#000000" fill="none">
> <path d="M 100,0L0,100"/>
> <path d="M 0,0L100,100" stroke-dasharray="5 5"/>
> <path d="M 50,0L50,100" stroke-dasharray="none"/>
> <path d="M 0,50L100,50" stroke-dasharray="5 5"/>
> </g>
> 
> </svg>
> 
> The first two paths are drawn as expected, but the others aren't drawn
> at all by Adobe Reader. Strangely it omits everything that comes
> after a path with stroke-dasharray set to "none". I viewed the file
> in Opera, Squiggle, Inkscape and Firefox. The former three render the
> file as I would expect it to look like. Firefox strokes all lines as
> if the stroke-dasharray attribute wasn't there.
> 
> I'm pretty new to SVG, so I don't really know if this inconsistent
> behavior of different viewers is because my SVG is bad or whether this
> is due to bugs in the Mars plugin and Firefox.
> 
> Can anyone help?
> 
> Thomas W.
> 
> 

-- 
Klaus Förster
Institut für Geographie
Universität Innsbruck
A-6020 Innsbruck, Innrain 52
Tel.: +43 (0)512 507 5434

------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to