I was talking about anti-aliasing the image.
I tried geometricPrecision, but that had no visible effect what so ever.

This works for me (trunk and release 1.6). What version of Batik are you using? Also did you put shape-rendering on the clipPath element or somewhere else?
I put it on the clipPath. When that didn't work, I tried the image as well.

I am using cocoon 2.1.7 for that image, which is using the following jar file:

batik-all-1.5.1.jar.

2.1.9 is using 1.6, but I don't have access to batik and cocoon 2.1.9 at work, so I will have to wait till I get home to give it a go. I was going to look at

http://xmlgraphics.apache.org/batik/supportedElements.html

to see if shape-rendering is supported in 1.5, but this is dead link (it is linked here: http://xmlgraphics.apache.org/batik/status.html#elementStatus)
  <svg:clipPath id="myClip" shape-rendering="geometricPrecision">

   Also I should mention that your 'd' attribute on the path
is illegal according to the SVG spec and we have started respecting
this (you can't have a comma between numbers and a path command).

OK, I will keep this in mind. I probably only need spaces anyway as I am generating this based on an XSLT.
See the step look you get? Am I perhaps specifying my clipPath
incorrectly.

Yes, I wouldn't call those "severe jaggies", just jaggies (I reserve severe for multi-pixel jaggies).

forgive my hyperbole. ;)
Is it possible to apply a filter to blur the edges, thereby getting the
anti-aliasing look.

In graphics bevel is commonly used to refer any of a number of "lighting" effects which make an object look raised and rounded
(so the top/left edges will have a 'glint', and the bottom/right
edges will be 'dark').

   This can be accomplished in SVG using the lighting filters,
also if filters are not properly specified it is possible for
them to cause multi-pixel jaggies.
Cool, sorry for the confusion.

--
Kamal Bhatt


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

Reply via email to