Statistics
| Revision:

root / tmp / org.txm.libs.jfreesvg / about.html @ 2644

History | View | Annotate | Download (4.9 kB)

1 303 sjacqu01
<pre>
2 303 sjacqu01
JFreeSVG
3 303 sjacqu01
========
4 303 sjacqu01
5 303 sjacqu01
Version 1.7, 25 February 2014
6 303 sjacqu01
7 303 sjacqu01
(C)opyright 2013, 2014, by Object Refinery Limited.  All rights reserved.
8 303 sjacqu01
9 303 sjacqu01
10 303 sjacqu01
Overview
11 303 sjacqu01
--------
12 303 sjacqu01
JFreeSVG is a graphics library for the Java(tm) platform that allows you to generate content in SVG and Javascript (HTML5 Canvas) format using the standard Java2D drawing API (Graphics2D).  JFreeSVG is light-weight, fast, and has no dependencies other than the Java runtime (1.6 or later).  The home page for the project is:
13 303 sjacqu01
14 303 sjacqu01
    http://www.jfree.org/jfreesvg/
15 303 sjacqu01
16 303 sjacqu01
Version 1.0 (then called JFreeGraphics2D) was released on 31 July 2013 and the most recent version (1.7) was released on 25 February 2014.  Changes since the initial release are listed towards the end of this file.
17 303 sjacqu01
18 303 sjacqu01
19 303 sjacqu01
Getting Started
20 303 sjacqu01
---------------
21 303 sjacqu01
The Javadocs for the SVGGraphics2D and CanvasGraphics2D classes give examples for typical usage, and if you are already familiar with the Java2D APIs, then all you need to do is add jfreesvg-1.7.jar to your classpath and start coding.
22 303 sjacqu01
23 303 sjacqu01
Oracle provides tutorials for Java2D here:
24 303 sjacqu01
25 303 sjacqu01
       http://docs.oracle.com/javase/tutorial/2d/
26 303 sjacqu01
27 303 sjacqu01
There are some demonstration applications included in the org.jfree.graphics2d.demo.* package.  These applications make use of JFreeChart, so you'll find two additional jars in the 'lib' directory (jfreechart-1.0.17.jar and jcommon-1.0.21.jar).  These are required for the demo code only.
28 303 sjacqu01
29 303 sjacqu01
30 303 sjacqu01
License
31 303 sjacqu01
-------
32 303 sjacqu01
JFreeSVG is free software under the terms of the GNU Affero General Public License version 3 (AGPLv3) or later.  The license file is included in this distribution (<a href="about_files/agpl-3.0.txt">agpl-3.0.txt</a>).  If you prefer not to be bound by the terms of the AGPLv3, you can purchase an alternative license from Object Refinery Limited (please e-mail info@object-refinery.com for details, or check the JFreeSVG home page).
33 303 sjacqu01
34 303 sjacqu01
Please note that JFreeSVG is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  Please refer to the license for details.
35 303 sjacqu01
36 303 sjacqu01
Other code distributed with JFreeSVG:
37 303 sjacqu01
38 303 sjacqu01
- the JFreeChart and JCommon libraries (required for the demos only) are licensed under the GNU Lesser General Public License (GNU LGPL), a copy of this license can be found in the lib folder (the LGPL is not the same as the AGPL).  To get the source code and other information about JFreeChart and JCommon, please visit http://www.jfree.org/jfreechart/
39 303 sjacqu01
40 303 sjacqu01
41 303 sjacqu01
Change History
42 303 sjacqu01
--------------
43 303 sjacqu01
44 303 sjacqu01
Version 1.7 (25 February 2014)
45 303 sjacqu01
- added SVGHints.KEY_BEGIN_GROUP and SVGHints.KEY_END_GROUP to allow grouping of SVG output;
46 303 sjacqu01
- fix drawString() to include id if SVGHints.KEY_ELEMENT_ID is set;
47 303 sjacqu01
- fix transparent colors issue;
48 303 sjacqu01
- fixed minor issue with meta tag in HTML output file.
49 303 sjacqu01
50 303 sjacqu01
51 303 sjacqu01
Version 1.6 (18 December 2013)
52 303 sjacqu01
- fixed a minor packaging error in version 1.5.
53 303 sjacqu01
54 303 sjacqu01
55 303 sjacqu01
Version 1.5 (18 December 2013)
56 303 sjacqu01
- added FontMapper to ensure that Java logical font names map to the equivalent SVG generic font names;
57 303 sjacqu01
- added SVGHints.KEY_IMAGE_HREF to allow image references to be specified;
58 303 sjacqu01
- added SVGHints.KEY_ELEMENT_ID to allow an element id to be supplied for the next element to be written;
59 303 sjacqu01
- fixed a bug for special characters in drawString();
60 303 sjacqu01
- fixed a bug with coordinate formatting in certain locales.
61 303 sjacqu01
62 303 sjacqu01
63 303 sjacqu01
Version 1.4 (24 October 2013)
64 303 sjacqu01
- getSVGFontStyle() now specifies font-size units as required by the SVG standard. Fixes a bug that is visible when the SVG output is rendered in FireFox (which is more strict about the standard than other browsers);
65 303 sjacqu01
- added text-rendering attribute to the SVG text element generated by the drawString() method;
66 303 sjacqu01
- added new key and values to SVGHint to configure the value of the text-rendering attribute.
67 303 sjacqu01
68 303 sjacqu01
69 303 sjacqu01
Version 1.3 (24 September 2013)
70 303 sjacqu01
- implemented getDeviceConfiguration() method;
71 303 sjacqu01
- fixed clipping bug with transforms applied after clip is set;
72 303 sjacqu01
- fixed bug with setClip(null);
73 303 sjacqu01
- fixed "not well-formed" parsing issue for Firefox;
74 303 sjacqu01
- set preserveAspectRatio attribute for images;
75 303 sjacqu01
76 303 sjacqu01
77 303 sjacqu01
Version 1.2 (13 September 2013)
78 303 sjacqu01
- added SVG and XLINK namespaces to SVG element;
79 303 sjacqu01
- fixed capitalisation of linearGradient element, to pass W3C validator;
80 303 sjacqu01
- added support for Java2D's RadialGradientPaint;
81 303 sjacqu01
- added SVGUtils.writeToSVG() method;
82 303 sjacqu01
- added new demo SVGTimeSeriesChartDemo1.java.
83 303 sjacqu01
84 303 sjacqu01
85 303 sjacqu01
Version 1.1 (4 September 2013)
86 303 sjacqu01
- reimplemented drawString(AttributedCharacterIterator, float, float) using TextLayout and modified drawGlyphVector() to fill rather than stroke shapes (for SVG/CanvasGraphics2D);
87 303 sjacqu01
- removed the PDF code (to a separate project, OrsonPDF);
88 303 sjacqu01
- fixed clipping bug in SVGGraphics2D;
89 303 sjacqu01
- added geomDP and transformDP attributes to CanvasGraphics2D to control number of decimal places for numbers written to script;
90 303 sjacqu01
91 303 sjacqu01
92 303 sjacqu01
Version 1.0 (31 July 2013)
93 303 sjacqu01
- Initial public release.
94 303 sjacqu01
95 303 sjacqu01
96 303 sjacqu01
Contact / Questions
97 303 sjacqu01
-------------------
98 303 sjacqu01
If you have any questions or feedback about JFreeSVG, please post in the forum:
99 303 sjacqu01
100 303 sjacqu01
http://www.jfree.org/forum/viewforum.php?f=32
101 303 sjacqu01
102 303 sjacqu01
...or send an e-mail to david.gilbert@object-refinery.com.
103 303 sjacqu01
</pre>