Releases: LibrePDF/OpenPDF
OpenPDF 1.3.33 released
What's New in OpenPDF 1.3.33
- Bump bouncycastle.version from 1.76 to 1.77 by @dependabot in #990
- Errors in indentation and tab positions by @jansorby in #794
- Fixed issue reported by bsanchezb which in certain cases would overwr… by @Lonzak in #981
- Bump junit.version from 5.10.0 to 5.10.1 by @dependabot in #983
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2 by @dependabot in #984
- example code and test case for #591: FopGlyphProcessor.convertToBytesWithGlyphs() by @sis-yoshiday in #592
- Bump com.puppycrawl.tools:checkstyle from 10.12.4 to 10.12.5 by @dependabot in #989
- garbled CJK Unified Ideographs Extension text test and fix by @nao-ton in #987
New Contributors
- @jansorby made their first contribution in #794
- @sis-yoshiday made their first contribution in #592
- @nao-ton made their first contribution in #987
Full Changelog: 1.3.32...1.3.33
OpenPDF 1.3.32 released
What's Changed
- Speed up loading fonts from JAR (#955 #954)
- Bump commons-io:commons-io from 2.13.0 to 2.15.0 (#967)
- Bump org.apache.maven.plugins:maven-jxr-plugin from 3.3.0 to 3.3.1 (#966)
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0
- Bump com.puppycrawl.tools:checkstyle from 10.12.3 to 10.12.4 (#958)
- Nullsafe equals in XfaForm when processing template (#959)
- Fix height calculation for table rows with rowspan @fellmann (#865)
- Added AutoCloseable annotations on classes, that already implement the close method @SirLefti (#831)
- Fixing umlauts in form fields @antonleliuk (#847)
- Skipping eliminateSharedStreams() method call. @netmackan (#772)
- Add flag to inhibit FOP glyph substitution @dadza (#904)
- Refactorings by @Lonzak Part I (#853)
- Align /ID entry creation with 14.4 File Identifiers @bsanchezb (#876)
- Bump com.ibm.icu:icu4j from 73.2 to 74.1 (#976)
- Bump org.pitest:pitest-junit5-plugin from 1.2.0 to 1.2.1 (#975)
- Bump org.apache.maven.plugins:maven-clean-plugin from 3.3.1 to 3.3.2
- Bump org.apache.maven.plugins:maven-checkstyle-plugin (#978)
1.3.31
What's Changed
- Bump maven-jar-plugin from 3.2.2 to 3.3.0 by @dependabot in #817
- Bump junit.version from 5.9.0 to 5.9.1 by @dependabot in #819
- Bump checkstyle from 10.3.3 to 10.3.4 by @dependabot in #825
- Bump pitest-junit5-plugin from 1.0.0 to 1.1.0 by @dependabot in #828
- Add optional metadata/info update in a sequential revision by @bsanchezb in #814
- Add CIDSet for font subset to ensure PDF/A compliance by @bsanchezb in #815
- Bump bouncycastle.version from 1.71.1 to 1.72 by @dependabot in #830
- Bump fop from 2.7 to 2.8 by @dependabot in #848
- #373 - fix table rendering in footers by @bcersows in #823
- Throw InvalidPdfException in PdfReader.rebuildXref if no trailer is found by @andreasrosdal in #836
- Bump icu4j from 71.1 to 72.1 by @dependabot in #838
- Bump checkstyle from 10.3.4 to 10.6.0 by @dependabot in #862
- Update javadoc on document class by @sixdouglas in #841
- Bump junit.version from 5.9.1 to 5.9.2 by @dependabot in #868
- Bump assertj-core from 3.23.1 to 3.24.2 by @dependabot in #869
- [SECURITY] Fix Temporary File Information Disclosure Vulnerability
by @JLLeitschuh in #852 - Bump maven-javadoc-plugin from 3.4.1 to 3.5.0 by @dependabot in #888
- Bump maven-checkstyle-plugin from 3.2.0 to 3.2.1 by @dependabot in #887
- Bump jfreechart from 1.5.3 to 1.5.4 by @dependabot in #871
- Bump pitest-junit5-plugin from 1.1.0 to 1.1.2 by @dependabot in #870
- Enable kerning and ligatures for LayoutProcessor by @vk-github18 in #769
- Bump checkstyle from 10.6.0 to 10.9.3 by @dependabot in #891
- Bump maven-compiler-plugin from 3.10.1 to 3.11.0 by @dependabot in #889
- Bump icu4j from 72.1 to 73.1 by @dependabot in #894
- Bump maven-release-plugin from 2.5.3 to 3.0.0 by @dependabot in #890
- Bump bouncycastle.version from 1.72 to 1.73 by @dependabot in #895
- Bump maven-checkstyle-plugin from 3.2.1 to 3.3.0 by @dependabot in #909
- Bump bcprov-jdk18on from 1.73 to 1.74 by @dependabot in #920
- Add PDF/A-1b example by @raodienne in #911
- Fix for localgoto in pdf/a-1b documents by @raodienne in #913
- PDF/A conformance and StructElem Type by @JAndrassy in #918
- Bump maven-clean-plugin from 3.2.0 to 3.3.1 by @dependabot in #917
- Bump dom4j from 2.1.3 to 2.1.4 by @dependabot in #892
- Bump com.puppycrawl.tools:checkstyle from 10.9.3 to 10.12.2 by @dependabot in #930
- Bump junit.version from 5.9.2 to 5.10.0 by @dependabot in #928
- Bump commons-io:commons-io from 2.11.0 to 2.13.0 by @dependabot in #932
- Bump org.apache.maven.plugins:maven-source-plugin from 3.2.1 to 3.3.0 by @dependabot in #931
- Bump org.apache.felix:maven-bundle-plugin from 5.1.8 to 5.1.9 by @dependabot in #937
- Bump org.apache.maven.plugins:maven-gpg-plugin from 3.0.1 to 3.1.0 by @dependabot in #936
- Issue676: references in tag structure tree are incorrect by @DManstrator in #903
- set FLAGS_PRINT flag in annotation for action chunks by @arational in #877
- Update README by @vk-github18 in #944
- Bump com.ibm.icu:icu4j from 73.1 to 73.2 by @dependabot in #942
- Bump org.pitest:pitest-junit5-plugin from 1.1.2 to 1.2.0 by @dependabot in #943
- Bump com.puppycrawl.tools:checkstyle from 10.12.2 to 10.12.3 by @dependabot in #950
- Bump org.apache.xmlgraphics:fop from 2.8 to 2.9 by @dependabot in #948
- Bump org.apache.maven.plugins:maven-release-plugin from 3.0.0 to 3.0.1 by @dependabot in #947
New Contributors
- @bcersows made their first contribution in #823
- @JLLeitschuh made their first contribution in #852
- @raodienne made their first contribution in #911
- @JAndrassy made their first contribution in #918
- @DManstrator made their first contribution in #903
- @arational made their first contribution in #877
Full Changelog: 1.3.30...1.3.31
1.3.30
What's Changed
- Bump checkstyle from 10.3 to 10.3.1 by @dependabot in #776
- Issue747: fix wrong layout of generating a table with alignment setting by @Brooklyn-0 in #749
- Support for embedded images in HTMLWorker by @jukkaharkki in #785
- Bump junit.version from 5.8.2 to 5.9.0 by @dependabot in #786
- Bump maven-bundle-plugin from 5.1.6 to 5.1.8 by @dependabot in #789
- Bump maven-javadoc-plugin from 3.4.0 to 3.4.1 by @dependabot in #793
- Bump checkstyle from 10.3.1 to 10.3.3 by @dependabot in #797
- Bump mockito-core from 4.6.1 to 4.8.0 by @dependabot in #808
- Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 by @dependabot in #810
- Bump bouncycastle.version from 1.71 to 1.71.1 by @dependabot in #809
- Bump maven-jxr-plugin from 3.2.0 to 3.3.0 by @dependabot in #811
- Issue619: add support for rowspan by @Brooklyn-0 in #750
- RTL support for List Items - adding run direction at List Item level by @nucleussoftwareopen in #778
- fix style issues by @bsanchezb in #801
- fix slow or OutOfMemory in SmartCopy with some pdfs by @albfernandez in #807
- #781 - Fix wrong deletion of chunks in HeaderFooter by @renoth in #813
- add method to extract ownerPasswordUsed value by @bsanchezb in #803
- Implemented password based AES256 (ISO 32000-2) support, see issue #375 by @mkl-public in #802
- Simplify merging pdfs from java by @albfernandez in #806
- Ensure deterministic behavior on protected PDF signature by @bsanchezb in #800
New Contributors
- @Brooklyn-0 made their first contribution in #749
- @jukkaharkki made their first contribution in #785
- @renoth made their first contribution in #813
- @mkl-public made their first contribution in #802
Full Changelog: 1.3.29...1.3.30
1.3.29
What's Changed
- Included GitHub Actions for debpendabot by @naveensrinivasan in #694
- Bump mockito-core from 4.5.1 to 4.6.0 by @dependabot in #752
- Bump maven-bundle-plugin from 5.1.5 to 5.1.6 by @dependabot in #731
- Bump checkstyle from 10.2 to 10.3 by @dependabot in #751
- Split row with rowspan > 1 evenly by @ObsisMc in #693
- parsing of cross reference streams with multiple revisions by @szabo-jozsef in #702
- Bump assertj-core from 3.22.0 to 3.23.0 by @dependabot in #753
- Set permissions for GitHub actions by @nathannaveen in #705
- Document 3rd party lib dep for getTiffImage by @jknight in #707
- Adding Paragraphs with different run directions to same ColumnText ob… by @nucleussoftwareopen in #709
- Add linebreak after Content Stream by @moritzfl in #723
- Fix for issue #727: Use PdfStamper.getPdfLayers() causes java.lang.NullPointerException by @koenvb in #728
- fix dictionary casting for issue #729 by @koenvb in #730
- Fix bug about ColumnText by @chappyer in #732
- Bump assertj-core from 3.23.0 to 3.23.1 by @dependabot in #754
- Update PdfPRow.java by @MichaelBiesmann in #755
- Improve monospaced font mapping on Windows and Linux by @oyarzun in #742
- Bump mockito-core from 4.6.0 to 4.6.1 by @dependabot in #759
- Bump pitest-junit5-plugin from 0.15 to 0.16 by @dependabot in #766
- fix bug: Image in footer has wrong y value by @ObsisMc in #697
- Correct license in all jars by @asturio in #757
- Update pitest-junit5-plugin from 0.16 to 1.0.0 by @asturio in #774
- Bump actions/checkout from 2 to 3 by @asturio in #775
New Contributors
- @naveensrinivasan made their first contribution in #694
- @ObsisMc made their first contribution in #693
- @szabo-jozsef made their first contribution in #702
- @nathannaveen made their first contribution in #705
- @jknight made their first contribution in #707
- @nucleussoftwareopen made their first contribution in #709
- @moritzfl made their first contribution in #723
- @koenvb made their first contribution in #728
- @MichaelBiesmann made their first contribution in #755
- @oyarzun made their first contribution in #742
Full Changelog: 1.3.28...1.3.29
OpenPDF 1.3.28
1.3.28
Changes
- Add ECDSA support to PdfPKCS7
- Add example for ColumnText to create text with drop cap
- feat: set run direction of form text fields by their content
- Fix #251: Custom rendering of paragraph
- Fix #581: Writing the cross reference table entries now uses the correct encoding
- Fix #640: Exception SHA1with1.2.840.10045.4.1 Signature not available
- Fix #668: class com.lowagie.text.pdf.PdfDictionary cannot be cast to class com.lowagie.text.pdf.PRIndirectReference
- Fix #669: Header and Footer definition is ignored
- Fix #674: flip text alignment for RTL multiline text fields
- Fix #706: HtmlParser: maybe there should be a new line between title and body
- Fix #718: ArrayIndexOutOfBoundsException when opening PDF file with invalid indirect reference
- Fix #720: Null Pointer Exception
- Test #534: Blank Page after PTable added into Document
- use getISOBytes instead of PdfEncoding
Updated dependencies:
- Bump checkstyle from 9.3 to 10.2
- Bump icu4j from 70.1 to 71.1
- Bump maven-bundle-plugin from 5.1.4 to 5.1.5
- Bump maven-clean-plugin from 3.1.0 to 3.2.0
- Bump maven-compiler-plugin from 3.10.0 to 3.10.1
- Bump maven-javadoc-plugin from 3.3.2 to 3.4.0
- Bump maven-jxr-plugin from 3.1.1 to 3.2.0
- Bump mockito-core from 4.3.1 to 4.5.1
- Bump nexus-staging-maven-plugin from 1.6.12 to 1.6.13
- Update Bouncy Castle dependency to version 1.71
Full history
What's Changed
- Bump checkstyle from 9.3 to 10.0 by @dependabot in #677
- Add example for ColumnText to create text with drop cap by @mluppi in #678
- Improve documentation for setting header/footer by @mluppi in #675
- Fix issue #668 by @draccagni in #673
- Bump mockito-core from 4.3.1 to 4.4.0 by @dependabot in #683
- Encoding for cross reference table wrong by @soenkekueper in #642
- Bump maven-compiler-plugin from 3.10.0 to 3.10.1 by @dependabot in #684
- Correct run direction for RTL fields by @tomyam1 in #671
- Bump maven-jxr-plugin from 3.1.1 to 3.2.0 by @dependabot in #686
- Bump checkstyle from 10.0 to 10.1 by @dependabot in #688
- Bump maven-clean-plugin from 3.1.0 to 3.2.0 by @dependabot in #695
- Bump icu4j from 70.1 to 71.1 by @dependabot in #700
- Bump checkstyle from 10.1 to 10.2 by @dependabot in #717
- Bump maven-javadoc-plugin from 3.3.2 to 3.4.0 by @dependabot in #710
- Bump nexus-staging-maven-plugin from 1.6.12 to 1.6.13 by @dependabot in #712
- Bump mockito-core from 4.4.0 to 4.5.1 by @dependabot in #713
- Fix #718 by @liefke in #719
- Issue 720: Fixed Null Pointer Exception by @kaufmann1 in #721
- Bump maven-bundle-plugin from 5.1.4 to 5.1.5 by @dependabot in #722
- Update Bouncy Castle dependency to version 1.71. by @andreasrosdal in #726
- Fix bug about SAXiTextHandler by @chappyer in #714
- Add ECDSA support to PdfPKCS7 by @kwart in #682
New Contributors
- @draccagni made their first contribution in #673
- @soenkekueper made their first contribution in #642
- @tomyam1 made their first contribution in #671
- @liefke made their first contribution in #719
- @kaufmann1 made their first contribution in #721
- @chappyer made their first contribution in #714
Full Changelog: 1.3.27...1.3.28
OpenPDF 1.3.27
OpenPDF 1.3.27 has been released.
OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. This release contains these new improvements:
Changes
- Add reference to LayoutProcessor to README
- Balancing market content operators when using without properties
- Extend HeaderFooter functionality to create without before Phrase part
- Fix #300: codewords padding for Macro PDF417-macro barcodes
- Fix #392 updated: FontSelector.Process should NOT skip characters
- Fix #408: ConcurrentModificationException in FontFactory
- Fix #513: attach file with unicode name
- Fix #534: Justified Text not supporting RTL
- Fix #536: setSkipFirstHeader not working
- Fix #556: Example Manually positioning text on the pdf
- Fix #573: Example Adding bookmarks for lists and list items
- Fix #580: NullPointerException in SimpleBookmark.getBookmark()
- Fix #584: Add motivations to add FOP
- Fix #587: Set Font in PdfGraphics2D not working/PdfGraphics2D manipulates set Font
- Fix #610: Remove ITXT from PdfName
- Fix #623: Make BaseFont subset prefix generation deterministic
- Fix #629: Infinite loop in xref table causes OOM
- Fix NPE in PdfSmartCopy for some maybe corrupted files
- Fix possible ArrayIndexOutOfBoundsException
- Fix (related to LibrePDF/OpenPDF5#7: LineSeparator prints out OBJECT_REPLACEMENT_CHARACTER
- HTTP Proxy in OCSP and TSA clients and other config for TSA
- Minor code cleanups
- Prevent ClassCastExceptions for PdfNull object during signing PDF docs
- Remove dependency on javax.annotation
- Update PdfDocument skipFirstHeader fixed
- Corrected some license issues
- Minor example changes
Updated dependencies:
- Bump assertj-core from 3.19.0 to 3.22.0
- Bump bouncycastle.version from 1.68 to 1.69
- Bump checkstyle from 8.42 to 9.3
- Bump commons-io from 2.8.0 to 2.11.0
- Bump junit.version from 5.7.1 to 5.8.2
- Bump maven-bundle-plugin from 5.1.2 to 5.1.4
- Bump maven-compiler-plugin from 3.8.1 to 3.10.0
- Bump maven-gpg-plugin from 1.6 to 3.0.1
- Bump maven-jar-plugin from 3.2.0 to 3.2.2
- Bump maven-javadoc-plugin from 3.2.0 to 3.3.2
- Bump mockito-core from 3.9.0 to 4.3.1
- Bump nexus-staging-maven-plugin from 1.6.8 to 1.6.11
- Bump pitest-junit5-plugin from 0.14 to 0.15
Update to the latest OpenPDF version by using this in your pom.xml file:
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.27</version>
</dependency>OpenPDF 1.3.26
OpenPDF 1.3.26 has been released. OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. This release contains these new improvements:
Resolved issues
- Fix #69: NullPointerException due to missing trailer (on bad startxref?)
- Fix #330: Extracting text from PDF with embedded Identity-H font fails
- Fix #392: FontSelector.process should NOT skip characters
- Fix #399: KeepTogether in paragraph broken with more than one chunk and different font
- Fix #454: Tab character is not visible in the PDF generated as glyph substitution not working
- Fix #500: NullPointerException using PdfCopyFields (broken since v1.1.0)
- Fix #502: NPE when exporting JasperPrint to PDF/A document
- Fix #512: Wrong OSGI import for javax.annotation
- Fix #517: The size pdf always be bigger than iText5
- Fix #529: error with PDFTextExtractor
Other improvements
- Fix: An improper assertion of TabTest
- Fix IndexOutOfBoundsException is thrown while getting Metadata of huge files
- Make drawing circles more accurate by changing the bezier constant
- Support Text Extract for symbol font and ZapfDingbats font
Updated dependencies
- Bump
checkstylefrom 8.40 to 8.42 - Bump
jfreechartfrom 1.5.2 to 1.5.3 - Bump
maven-bundle-pluginfrom 5.1.1 to 5.1.2 - Bump
maven-jxr-pluginfrom 3.0.0 to 3.1.1 - Bump
mockito-corefrom 3.7.7 to 3.9.0 - Bump
pitest-junit5-pluginfrom 0.12 to 0.14
Update to the latest OpenPDF version by using this in your pom.xml file:
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.26</version>
</dependency>OpenPDF 1.3.25
OpenPDF 1.3.25 has been released. OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. This release contains these new improvements:
- [bugfix] Check if the annotation belongs to a valid page
- [bugfix] Check if the returned ANNOTS object is not PdfNull
- [bugfix] Fix #318: Small unit test checking that a single paragraph should create a single page.
- [bugfix] Fix #394: Avoid Exception parsing RegEx
- [bugfix] Fix #405: Bold+Underline is bolder than expected
- [code] CheckStyle checks on actions
- [code] CheckStyle rules updated
- [code] Maven cleanups
- [doc] Create pull_request_template.md
- [doc] Documenting correct version of bouncycastle
- [doc] How to add Chunk with chinese
- [update] Bump assertj-core from 3.18.1 to 3.19.0
- [update] Bump checkstyle from 8.39 to 8.40
- [update] Bump commons-io from 2.6 to 2.8.0
- [update] Bump fop from 2.5 to 2.6
- [update] Bump jfreechart from 1.5.1 to 1.5.2
- [update] Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2
- [update] Bump mockito-core from 3.6.28 to 3.7.7
Update to the latest OpenPDF version by using this in your pom.xml file:
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.25</version>
</dependency>OpenPDF 1.3.24
OpenPDF 1.3.24 has been released. OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. This release contains these new improvements:
Dependency Updates
- Bump assertj-core from 3.18.0 to 3.18.1
- Bump bcpkix-jdk15on from 1.67 to 1.68
- Bump bcprov-jdk15on from 1.67 to 1.68
- Bump imageio-tiff from 3.6 to 3.6.1
- Bump mockito-core from 3.6.0 to 3.6.28
- Bump spotbugs from 4.1.4 to 4.2.0
Bugfixes
- Fix issue #442: Accented Letters composed of Unicode base letter and combining accent are rendered incorrectly
- Fix issue #450: Huge increase in PDF filesize since 1.3.12
Meta
- Licenses are now in separated files
- Switched from Travis-CI to GutHub CI
Update to the latest OpenPDF version by using this in your pom.xml file:
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.24</version>
</dependency>