Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
org.jfree:org.jfree.pdf
Advanced tools
JFreePDF is an API that provides a Graphics2D implementation that generates PDF output.
Version 2.0.1, by David Gilbert, 6 November 2022.
(C)opyright 2013-2022, by David Gilbert. All rights reserved.
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
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 project.
JFreePDF is published to the Central Repository. You can include it in your projects with the following dependency:
<dependency>
<groupId>org.jfree</groupId>
<artifactId>org.jfree.pdf</artifactId>
<version>2.0</version>
</dependency>
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:
<!-- https://mvnrepository.com/artifact/com.orsonpdf/orsonpdf -->
<dependency>
<groupId>com.orsonpdf</groupId>
<artifactId>orsonpdf</artifactId>
<version>1.9</version>
</dependency>
You can build JFreePDF from sources using Maven:
mvn clean install
JFreePDF
is being tested using Graphics2D Tester and produces the output shown below.
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
.
Version 2.0.1 (6 November 2022)
Version 2.0 (1 March 2020)
OrsonPDF
to JFreePDF
.FAQs
JFreePDF is an API that provides a Graphics2D implementation that generates PDF output.
We found that org.jfree:org.jfree.pdf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.