Skip to content

Commit

Permalink
OpenPDF 1.3.39
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasrosdal committed Jan 19, 2024
1 parent 9107f1a commit 71591a8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 41 deletions.
39 changes: 3 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ and bugreports to this GitHub repository.

[![Join the chat at https://gitter.im/LibrePDF/OpenPDF](https://badges.gitter.im/LibrePDF/OpenPDF.svg)](https://gitter.im/LibrePDF/OpenPDF)

## OpenPDF version 1.3.38 released 2024-01-17 ##
## OpenPDF version 1.3.39 released 2024-01-17 ##

Get version 1.3.38 here - https://github.com/LibrePDF/OpenPDF/releases/tag/1.3.38
Get version 1.3.39 here - https://github.com/LibrePDF/OpenPDF/releases/tag/1.3.39

- [Previous releases](https://github.com/LibrePDF/OpenPDF/releases)

Expand Down Expand Up @@ -45,7 +45,7 @@ Add this to your pom.xml file to use the latest version of OpenPDF:
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.38</version>
<version>1.3.39</version>
</dependency>
```

Expand All @@ -72,39 +72,6 @@ MPL license only.
- [Tutorial](https://github.com/LibrePDF/OpenPDF/wiki/Tutorial) (wiki, work in progress)
- [Migration from iText, TIFF support](https://github.com/LibrePDF/OpenPDF/wiki/Migrating-from-iText-2-and-4)

## Hello world example ##

```java
public class HelloWorld {
/**
* Generates a PDF file with the text 'Hello World'
*/
public static void main(String[] args) {

// step 1: creation of a document-object
Document document = new Document();
try {
// step 2:
// we create a writer that listens to the document
// and directs a PDF-stream to a file
PdfWriter.getInstance(document, new FileOutputStream("HelloWorld.pdf"));

// step 3: we open the document
document.open();
// step 4: we add a paragraph to the document
document.add(new Paragraph("Hello World"));
} catch (DocumentException de) {
System.err.println(de.getMessage());
} catch (IOException ioe) {
System.err.println(ioe.getMessage());
}

// step 5: we close the document
document.close();
}
}
```

## Background ##

OpenPDF is open source software with a LGPL and MPL license. It is a fork of iText version 4, more
Expand Down
2 changes: 1 addition & 1 deletion openpdf-fonts-extra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.39-SNAPSHOT</version>
<version>1.3.39</version>
</parent>

<artifactId>openpdf-fonts-extra</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion openpdf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.39-SNAPSHOT</version>
<version>1.3.39</version>
</parent>

<artifactId>openpdf</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pdf-swing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.39-SNAPSHOT</version>
<version>1.3.39</version>
</parent>

<artifactId>pdf-swing</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pdf-toolbox/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.39-SNAPSHOT</version>
<version>1.3.39</version>
</parent>

<artifactId>pdf-toolbox</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.39-SNAPSHOT</version> <!-- artifact.version -->
<version>1.3.39</version> <!-- artifact.version -->
<packaging>pom</packaging>

<!-- please run mvn tidy:pom once in a while -->
Expand Down

0 comments on commit 71591a8

Please sign in to comment.