Hi Urs,

Urs Reupke wrote:

I noticed that there's quite a difference between SVGs rendered by Batik and by Adobes SVGViewer when it comes to output quality.
Is there some property to enable Antialiasing or as Adobe calls it "Higher Quality" rendering? I found the class SVGRenderingHints, but I'm clueless on how to use it.

I am a little surprised to hear this. In general I think the two render similar quality. The one place where Adobe is significantly better is text (especially at small point sizes).

    If you are willing to modify the SVG content, you can add the
various rendering hints from svg.  text-rendering, image-rendering,
shape-rendering, color-rendering, take a look in the SVG
specification for the details.

    The SVGRenderingHints class maps these to a set of
standard Java2D rendering hints (you can look at the
RenderingHints class in java.awt for more info).

    Can you be more specific about what you thing needs
improvement?


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



Reply via email to