https://github.com/jfree/jfreepdf
JFreePDF is a modular library for the Java platform that provides an implementation of the Graphics2D API that emits PDF.
https://github.com/jfree/jfreepdf
graphics2d java-library java2d pdf
Last synced: 10 months ago
JSON representation
JFreePDF is a modular library for the Java platform that provides an implementation of the Graphics2D API that emits PDF.
- Host: GitHub
- URL: https://github.com/jfree/jfreepdf
- Owner: jfree
- License: gpl-3.0
- Created: 2020-02-27T05:20:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-06T16:54:38.000Z (over 3 years ago)
- Last Synced: 2024-05-10T22:05:22.365Z (almost 2 years ago)
- Topics: graphics2d, java-library, java2d, pdf
- Language: Java
- Homepage:
- Size: 222 KB
- Stars: 15
- Watchers: 4
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
JFreePDF
========
Version 2.0.1, by David Gilbert, 6 November 2022.
(C)opyright 2013-2022, by David Gilbert. All rights reserved.
[](https://maven-badges.herokuapp.com/maven-central/org.jfree/org.jfree.pdf)
Overview
--------
JFreePDF is a library module for the Java(tm) platform that allows you to create content in Adobe's Portable Document Format (PDF) using the standard Java2D drawing API (`Graphics2D`). JFreePDF is light-weight, fast, and has no dependencies other than the Java runtime (11 or later). The home page for the project is:
https://github.com/jfree/jfreepdf
Getting Started
---------------
The Javadoc page for the `PDFDocument` class gives an example of typical usage.
Oracle provides tutorials for Java2D here:
http://docs.oracle.com/javase/tutorial/2d/
There are some demonstration applications included in the [JFree Demos](https://github.com/jfree/jfree-demos) project.
Include
-------
JFreePDF is published to the Central Repository. You can include it in your projects with the following dependency:
org.jfree
org.jfree.pdf
2.0.1
JFreePDF defines the module name `org.jfree.pdf`.
If you are using Java 8, an earlier version of this library (OrsonPDF) can be used instead:
com.orsonpdf
orsonpdf
1.9
Build
-----
You can build JFreePDF from sources using Maven:
mvn clean install
Testing
-------
`JFreePDF` is being tested using [Graphics2D Tester](https://github.com/jfree/graphics2d-tester) and produces the output shown below.

Dual Licensing
--------------
JFreePDF is dual licensed. You can use JFreePDF under the terms of the GNU General Public License version 3 (GPLv3) or later. If you prefer not to be bound by the terms of the GPLv3, an alternative license is available to JFree sponsors.
JFreePDF integrates the `Ascii85OutputStream` class written by Ben Upsavs and distributed freely under the (BSD-style) terms listed in the `Ascii85OutputStream-license.txt file`.
Change History
--------------
Version 2.0.1 (6 November 2022)
- fix various warnings
- update Maven plugin versions in pom.xml
- updated JUnit to version 5.9.1.
Version 2.0 (1 March 2020)
- converted to a Java module;
- renamed `OrsonPDF` to `JFreePDF`.