xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McCormack <...@mcc.id.au>
Subject Re: Bad anti-aliasing?
Date Thu, 02 Mar 2006 10:52:50 GMT
Hi Anders.

Anders Straadt:
> It's made out of tileable SVG files. The lines in the SVG files
> are defined with care - the widths are identical, and the lengths
> are known. Still there are two problems: there are holes between
> the SVG files (i marked them with red arrows), and the widths seem
> semi-aliased, e.g. look at the the lower line between the two upper
> corner SVG's - it seems thinner than those joining with it. When I
> scale the picture down even more, lines often disappear and reappear,
> just like if you downsized a bitmap picture with only nearest
> neighbour sampling.

Try putting shape-rendering="geometricPrecision" on your root 'svg'
element.  That should solve the problem, I think.

Cameron

-- 
 Cameron McCormack			ICQ: 26955922
 cam (at) mcc.id.au			MSN: cam (at) mcc.id.au
 http://mcc.id.au/			JBR: heycam (at) jabber.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message