On Sunday 27 May 2001 04:48, you wrote:
> The new 1.0 version of Batik is working quite nicely, and I
> like the website.
>
> The following file shows unusal behavior with svgbrowser:
> ===========================================================
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
>    "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd";>
>
> <svg width="200" height="200" viewBox="0 0 200 200">
> <text font-family="sans-serif" font-size="12pt"
>       fill="black" stroke="none"
>       x="10" y="40">
>    This is smooth text
> </text>
> <g shape-rendering="crispEdges">
>    <rect x="5" y="45" width="40" height="40" fill="none" stroke="black"/>
> </g>
> </svg>
> ====================================================================
> When you first load the file, the text is smooth and anti-aliased.
> If you go to the File menu and select Reload Document, the
> text will get crisp edges and no longer be anti-aliased.
>
> I'm often guilty of "user head gap error," so it's entirely possible
> that this is the correct behavior of SVG, in which case my apologies
> in advance.


This is a bug. Your text should always be antialiased.
We probably do not set the RenderingHints properly at the beginning of a new 
rendering.

I will fix that ASAP (as the xml.apache.org CVS repository has some troubles 
at this time).

Thanks for your feedback,
Thierry.


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

Reply via email to