JFreeSVG 4.0

A discussion forum for JFreeSVG (a fast, lightweight, SVG generator for the Java platform).
Post Reply
david.gilbert
JFreeChart Project Leader
Posts: 11706
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

JFreeSVG 4.0

Post by david.gilbert » Sat Feb 29, 2020 9:53 am

JFreeSVG 4.0 has been released. It is now a first-class Java module and requires Java 11 or later. From the README file:

Code: Select all

Version 4.0 (27-February-2020)
- created a module for JFreeSVG: `org.jfree.svg`;
- increased the minimum required Java version to 11;
- changed the Maven artifact ID to match the module name;
- removed 'graphics2d' from the package names;
- fix `drawArc()` and `fillArc()` methods to draw pie arcs;
- use `java.util.Base64` instead of `javax.xml.bind.DatatypeConverter`.
JFreeSVG is hosted at GitHub: https://github.com/jfree/jfreesvg

JFreeSVG dependency information:

Code: Select all

<dependency>
    <groupId>org.jfree</groupId>
    <artifactId>org.jfree.svg</artifactId>
    <version>4.0</version>
</dependency>
JFreeSVG is dual licensed under the GNU GPL and a commercial licence.

mhilpert
Posts: 496
Joined: Wed Apr 02, 2003 1:57 pm
Location: Germany

Re: JFreeSVG 4.0

Post by mhilpert » Thu May 28, 2020 7:24 am

Bug in generated SVG: the style attribute "font-family" is not enclosed in quotes. For fonts with spaces in the family name, this results in missing font when rendered with Apache FOP. The very same JFreeChart object converted to SVG with Batik, does not have this problem as Batik encloses font-family in quotes.
Java 11, JFreeChart 1.0.15, JFreeSVG 4.0

Post Reply