Skip to content

Commit

Permalink
openpdf version 1.3.34
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Dec 18, 2023
1 parent 540edb9 commit 34d6607
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- openpdf version 1.3.34

## [1.2.0-sa.1] - 2023-11-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<properties>
<fj-doc-version>${project.parent.version}</fj-doc-version>
<openpdf-version-version>1.3.33</openpdf-version-version>
<openpdf-version-version>1.3.34</openpdf-version-version>
<openrtf-version-version>1.2.1</openrtf-version-version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package test.org.fugerit.java.doc.mod.itext.poc;

import org.fugerit.java.core.cfg.ConfigRuntimeException;
import org.fugerit.java.doc.mod.openpdf.PdfTypeHandler;
import org.fugerit.java.doc.mod.openpdf.helpers.OpenPpfDocHandler;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;

public class TestSpec extends TestDocBase {

private static final String CUSTOM_FONT = "Calibri";

@BeforeClass
public static void init() {
try {
OpenPpfDocHandler.registerFont( CUSTOM_FONT , "src/test/resources/font/TitilliumWeb-Regular.ttf");
} catch (Exception e) {
throw new ConfigRuntimeException( e );
}
}

private static final String DEFAULT_DOC = "test";

@Test
public void testOpenPDF() {
boolean ok = this.testDocWorker( DEFAULT_DOC , PdfTypeHandler.HANDLER );
Assert.assertTrue(ok);
}

}
141 changes: 141 additions & 0 deletions src/test/resources/xml/test.xml

Large diffs are not rendered by default.

0 comments on commit 34d6607

Please sign in to comment.