Browse our Products
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>25.2</version>
</dependency>
compile(group: 'com.aspose', name: 'aspose-pdf', version: '25.2')
<dependency org="com.aspose" name="aspose-pdf" rev="25.2">
<artifact name="aspose-pdf" ext="jar"/>
</dependency>
libraryDependencies += "com.aspose" % "aspose-pdf" % "25.2"
What’s new in the Aspose.PDF for Java 25.2
Release Highlights
Aspose.PDF for Java 25.2 introduces key upgrades including ECDSA and DSA signature support, export to PDF/X-4 format, and precise font metrics calculations. Enhancements to signature management, HTML rendering, and EPUB support solidify this release as a significant step forward in digital document creation and processing.
New Features
Get Ascent and Descent of Text by Font and Size:
New API methods allow developers to retrieve ascent and descent values, helping with advanced layout calculations and typography precision.ECDSA and DSA Signature Support:
Now supports signing PDFs using ECDSA and DSA certificates, offering broader cryptographic flexibility.Center-Aligned HTML Output and Full-Width Paragraphs:
Enhancements to HTML to PDF conversion now support center alignment and full-width flow layout rendering.PDF to PDF/X-4 Conversion:
Added the ability to export PDFs to PDF/X-4, meeting modern print and prepress standards.
Enhancements
Improved Empty Page Handling:
Enhancements to blank page detection increase the accuracy of content assessments.Verify Digital Signatures with Duplicate Names:
Now supports validation of multiple digital signatures sharing the same name within a document.Multi-Widget TextBoxField Support:
Developers can now createTextBoxField
instances containing several widget annotations.ExtGState Dictionary Editing:
Offers ability to modify extended graphics state dictionaries in page resources for advanced rendering customization.
Bug Fixes
Rendering and Formatting Fixes:
- Resolved EPUB rendering regression affecting certain languages.
- Fixed text truncation issue when modifying
TextFragment
.
Conversion and Save Issues:
- Fixed
NullPointerException
during PDF/A conversion and saving. - Addressed issues when resizing pages that led to structural problems.
- Fixed
HTML-Related Fixes:
- Corrected hangs when processing base64 images in HTML to PDF.
- Fixed SVG rendering issues and missing bookmarks in concatenated PDFs.
- Improved hyperlink preservation in DOCX outputs and fixed formatting breaks.
Other Critical Fixes:
- PDF to DOCX conversion now works correctly on Ubuntu.
- Resolved validation issues with PDF/A output.
- Fixed exceptions related to HTML loading and Headless CI environments.
- Resolved signature length mismatches and rendering of base64 images in HTML fragments.
Public API and Backwards Incompatible Changes
Added Classes:
CosPdfDictionary
ConvertException
SignatureLengthMismatchException
SignatureName
Added Methods:
- Digital signature inspection and validation methods in
PdfFileSignature
, including:getSignatureNames()
coversWholeDocument(SignatureName)
verifySignature(SignatureName)
extractImage(SignatureName)
andextractCertificate(SignatureName)
- Typography methods:
Font.getAscentPoint(String, float)
Font.getDescentPoint(String, float)
- HTML and image enhancements:
HtmlSaveOptions.getFlowLayoutParagraphFullWidth()
ImageStamp.getXIndent()
/getYIndent()
and corresponding setters
- Additional PDF signing enhancements:
Signature.getDefaultSignatureLength()
/.setDefaultSignatureLength(int)
Signature.isAvoidEstimatingSignatureLength()
Added Constructors:
TextBoxField(Page, Rectangle[])
DictionaryEditor(Resources)
Deprecated Methods and Constructors:
- Multiple signature-related methods in
PdfFileSignature
(usingString
) are deprecated in favor ofSignatureName
-based methods. - Deprecated:
CheckboxField.#ctor()
🔍 Explore the Full Release Details
For full list of updates, please visit Aspose.PDF for Java 25.2 Release Notes.
ecdsa sign pdf java
| pdf x4 export java
| html to pdf base64 fix
| font ascent descent java
| signature verification duplicate names
Version | Release Date |
---|---|
25.4 | April 30, 2025 |
25.3 | March 30, 2025 |
25.2 | February 27, 2025 |
25.1 | January 30, 2025 |
24.12 | December 29, 2024 |
24.11 | November 29, 2024 |
24.10 | October 30, 2024 |
24.9 | September 27, 2024 |
24.8 | August 29, 2024 |
24.7 | July 31, 2024 |
24.6 | June 28, 2024 |
24.5 | May 30, 2024 |
24.4 | April 29, 2024 |
24.3 | March 29, 2024 |
24.2 | February 28, 2024 |
24.1 | January 31, 2024 |
23.12 | December 28, 2023 |
23.11 | November 29, 2023 |
23.10 | October 31, 2023 |
23.9 | September 28, 2023 |
23.8 | August 29, 2023 |
23.7 | July 27, 2023 |
23.6 | June 29, 2023 |
23.5 | May 30, 2023 |
23.4 | April 28, 2023 |
23.3 | March 24, 2023 |
23.2 | February 28, 2023 |
23.1 | January 26, 2023 |
22.12 | December 23, 2022 |
22.11 | November 30, 2022 |
22.10.1 | November 17, 2022 |
22.10 | October 31, 2022 |
22.9 | September 23, 2022 |
22.8 | August 24, 2022 |
22.7.1 | August 5, 2022 |
22.7 | August 5, 2022 |
22.6 | June 30, 2022 |
22.5 | June 1, 2022 |
22.4 | April 28, 2022 |
22.3 | March 25, 2022 |
22.2 | February 22, 2022 |
22.1 | January 21, 2022 |
21.12 | December 20, 2021 |
21.11 | November 22, 2021 |
21.10 | October 20, 2021 |
21.9 | September 20, 2021 |
21.8 | August 20, 2021 |
21.7 | July 8, 2021 |
21.6 | June 17, 2021 |
21.5 | May 20, 2021 |
21.4 | April 20, 2021 |
21.3 | March 19, 2021 |
21.2.1 | March 10, 2021 |
21.2 | February 20, 2021 |
21.1 | January 22, 2021 |
20.12 | December 18, 2020 |
20.11.1 | December 1, 2020 |
20.11 | November 18, 2020 |
20.10 | October 20, 2020 |
20.9 | September 17, 2020 |
20.8.1 | September 14, 2020 |
20.8 | August 19, 2020 |
20.7 | July 20, 2020 |
20.6 | June 19, 2020 |
20.5.1 | May 28, 2020 |
20.5 | May 19, 2020 |
20.4 | April 17, 2020 |
20.3 | March 19, 2020 |
20.2 | February 20, 2020 |
20.1 | January 22, 2020 |
19.12 | December 19, 2019 |
19.11 | November 29, 2019 |
19.10 | October 31, 2019 |
19.9 | September 30, 2019 |
19.8 | August 29, 2019 |
19.7 | July 31, 2019 |
19.6 | June 26, 2019 |
19.5 | May 31, 2019 |
19.4 | April 30, 2019 |
19.3 | March 29, 2019 |
19.2 | February 28, 2019 |
19.1 | January 29, 2019 |
18.12 | December 30, 2018 |
18.11 | November 29, 2018 |
18.10.2 | November 12, 2018 |
18.10 | October 30, 2018 |
18.9.1 | October 4, 2018 |
18.9 | September 28, 2018 |
18.8 | August 29, 2018 |
18.7 | July 31, 2018 |
18.6 | June 29, 2018 |
18.5 | May 31, 2018 |
18.4 | April 25, 2018 |
18.3 | March 30, 2018 |
18.2 | February 28, 2018 |
18.1 | February 6, 2018 |
17.12 | December 31, 2017 |
17.11 | November 30, 2017 |
17.10 | November 1, 2017 |
17.9 | October 2, 2017 |
17.8 | August 31, 2017 |
17.7 | July 20, 2017 |
17.6 | June 29, 2017 |
17.5 | June 7, 2017 |
17.4 | April 28, 2017 |
17.3.0 | April 6, 2017 |
17.2.0 | February 23, 2017 |
17.1.0 | January 26, 2017 |
16.12.0 | December 27, 2016 |
16.11.0 | November 29, 2016 |
16.10.0 | October 26, 2016 |
12.0.0 | October 10, 2016 |
11.9.0 | September 20, 2016 |
11.8.0 | August 11, 2016 |
11.7.0 | July 12, 2016 |
11.6.0 | June 10, 2016 |
11.5.0 | May 10, 2016 |
11.4.0 | April 8, 2016 |
11.3.0 | March 7, 2016 |
11.2.0 | February 8, 2016 |
11.1.0 | December 30, 2015 |
File | Classifier | Size |
---|---|---|
aspose-pdf-25.2-java.zip | 83 MB | |
aspose-pdf-25.2-javadoc.jar | javadoc | 6 MB |
aspose-pdf-25.2-jdk16.jar | jdk16 | 85 MB |
aspose-pdf-25.2-jdk17.jar | jdk17 | 85 MB |
aspose-pdf-25.2-tomee.jar | tomee | 85 MB |
aspose-pdf-25.2.jar | 85 MB | |
aspose-pdf-25.2.pom | 452 bytes |