JFreeSVG 1.5

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

JFreeSVG 1.5

Postby david.gilbert » Wed Dec 18, 2013 5:50 pm

A new version of JFreeSVG is now available to download. From the README file:

Code: Select all
Version 1.5 (18 December 2013)
- added FontMapper to ensure that Java logical font names map to the equivalent SVG generic font names;
- added SVGHints.KEY_IMAGE_HREF to allow image references to be specified;
- added SVGHints.KEY_ELEMENT_ID to allow an element id to be supplied for the next element to be written;
- fixed a bug for special characters in drawString();
- fixed a bug with coordinate formatting in certain locales.

JFreeSVG is dual licensed under the GNU AGPL and a commercial licence.
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
david.gilbert
JFreeChart Project Leader
 
Posts: 11647
Joined: Fri Mar 14, 2003 10:29 am

Re: JFreeSVG 1.5

Postby remiohead » Wed Dec 18, 2013 8:58 pm

David,

Thank you for the really quick update.

One issue: SVGUtils.escapeForXML tries to call org.jfree.chart.util.ParamChecks.nullNotPermitted which results in a NoClassDefFoundError. Probably supposed to be Args.nullNotPermitted.
remiohead
 
Posts: 201
Joined: Fri Oct 02, 2009 3:53 pm

Re: JFreeSVG 1.5

Postby david.gilbert » Wed Dec 18, 2013 9:39 pm

Oh no! Thanks for letting me know...
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
david.gilbert
JFreeChart Project Leader
 
Posts: 11647
Joined: Fri Mar 14, 2003 10:29 am

Re: JFreeSVG 1.5

Postby david.gilbert » Wed Dec 18, 2013 10:08 pm

JFreeSVG 1.6 is now available to download...minus the "muppet mistake" noted above. :oops:
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
david.gilbert
JFreeChart Project Leader
 
Posts: 11647
Joined: Fri Mar 14, 2003 10:29 am

Re: JFreeSVG 1.5

Postby remiohead » Thu Dec 19, 2013 8:13 pm

Another request for a rendering hint please:

It would be very useful to specify that subsequent drawing actions should be part of a group. For example, you would set this hint before drawing a chart. After the chart was drawn clearing the hint would close the group. The group would need to work with the id hint.
remiohead
 
Posts: 201
Joined: Fri Oct 02, 2009 3:53 pm

Re: JFreeSVG 1.5

Postby remiohead » Thu Jan 02, 2014 2:12 pm

A hint to start a new group and a second hint to close a group would work better. This allows groups-within-groups to be created. In both cases the value would be unused.
remiohead
 
Posts: 201
Joined: Fri Oct 02, 2009 3:53 pm

Re: JFreeSVG 1.5

Postby david.gilbert » Tue Feb 25, 2014 4:42 pm

The new hints are committed for the upcoming 1.7 release.
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
david.gilbert
JFreeChart Project Leader
 
Posts: 11647
Joined: Fri Mar 14, 2003 10:29 am


Return to JFreeSVG

Who is online

Users browsing this forum: No registered users and 1 guest