W3C home > Mailing lists > Public > www-svg@w3.org > September 2005

[SVG] dashed linetype needs starting point and direction.

From: Rick <graham.rick@gmail.com>
Date: Wed, 21 Sep 2005 18:08:17 -0400
Message-ID: <18569e0005092115086bba7600@mail.gmail.com>
To: www-svg@w3.org

Dear SVG working group.

Hi.

There is an issue with stroking shapes that I have never seen
mentioned.  Well, better late than never.

A dashed line on a basic shape can create some interesting looking
graphics, particularily if the stroke width is large in relation to
the overall size of the shape.
Adobe and Batik both use different starting points and/or directions
when stroking, and this causes inconsistencies that can be glaringly
noticable, and sometimes will render completely different graphics.

I know that the BitFlash engine renders identically to Adobe.  This is
because the developers that were implementing this used the Adobe
renderer for a reference.

Neither Adobe, Batik, or BitFlash implement the spec incorrectly as it
stands, but the results are not the same.  Also I realize that
defining how an implementation should go about rendering a shape is
beyond the scope of the spec as long as the results are within the
error limits defined in conformance, but in this case pixel accuracy
goes right out the window.

My apologies to the group for not mentioning this much sooner.

--
Cheers!
Rick
Received on Wednesday, 21 September 2005 22:08:25 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:31 GMT