Releases: LibrePDF/OpenPDF
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
checkstyle
from 8.40 to 8.42 - Bump
jfreechart
from 1.5.2 to 1.5.3 - Bump
maven-bundle-plugin
from 5.1.1 to 5.1.2 - Bump
maven-jxr-plugin
from 3.0.0 to 3.1.1 - Bump
mockito-core
from 3.7.7 to 3.9.0 - Bump
pitest-junit5-plugin
from 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>
OpenPDF 1.3.23
OpenPDF 1.3.23 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:
- Build: assertj-core from 3.12.2 to 3.18.0
- Build: bcpkix-jdk15on from 1.66 to 1.67
- Build: bcprov-jdk15on from 1.66 to 1.67
- Build: imageio-tiff from 3.5 to 3.6
- Build: jakarta.servlet-api from 5.0.0-M2 to 5.0.0
- Build: jfreechart from 1.5.0 to 1.5.1
- Build: maven-checkstyle-plugin to 3.1.1
- Build: maven-surefire-plugin from 2.22.1 to 2.22.2
- Build: mockito-core from 2.25.1 to 3.6.0
- Build: pitest-junit5-plugin from 0.7 to 0.12
- Build: pitmp-maven-plugin from 1.3.6 to 1.3.7
- Build: spotbugs from 4.1.3 to 4.1.4
- Cleanup: removed redundant interface modifier
- Fix: Javadoc errors and warnings (#367)
- Fix: module-info.java for jfreechart update from 1.5.0 to 1.5.1 in pdftoolbox
- Fix: No added space to extracted text (#119)
- Fix: NPE fix (#443)
- Fix: setColor(java.awt.Color.SOMECOLOR) does not work. Update module-info.java (#439)
- Fix: Update dependencies & enable dependabot (#413)
- Project: code of conduct chat badge added
- Project: Create CODE_OF_CONDUCT.md
- Project: Create issue templates
- Project: Restore contributors layout
- Project: Use bullet points for author list
- Test: Use jakarta-EE instead of javax (only for tests)
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.23</version>
</dependency>
OpenPDF 1.3.22
OpenPDF 1.3.22 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:
- Works again with Java 8 [#411]
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.22</version>
</dependency>
OpenPDF 1.3.21
OpenPDF 1.3.21 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:
- Improvements for compiling with JDK 9+
- UTF-8 Fonts moved to new module openpdf-fonts-extra
- Improved Charset handling
- Drops dependency to juniversalchardet [#400]
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.21</version>
</dependency>
OpenPDF 1.3.20
OpenPDF 1.3.20 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:
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.20</version>
</dependency>