shape-rendering attribute

A discussion forum for JFreeSVG (a fast, lightweight, SVG generator for the Java platform).

shape-rendering attribute

Postby remiohead » Wed Jun 18, 2014 10:03 pm

I think this should be set to "crispEdges" for horizontal and vertical lines, rectangles, and Path2D shapes made up only of horizontal and vertical lines. The result looks considerably better for almost all JFreeCharts I have tested it with.
Posts: 201
Joined: Fri Oct 02, 2009 3:53 pm

Re: shape-rendering attribute

Postby david.gilbert » Wed Jun 25, 2014 7:48 am

I'm making this configurable for the next release. In some cases, I see strange results with "crispEdges" (gridlines disappear for example) but in other cases you are right that it looks sharper.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
JFreeChart Project Leader
Posts: 11664
Joined: Fri Mar 14, 2003 10:29 am

Return to JFreeSVG

Who is online

Users browsing this forum: No registered users and 1 guest