Aspose.PDF for .NET V25.2

Released: Feb 11, 2025

V25.2 での更新項目

機能

  • Added the ability to convert a PDF file to a PDF/X-compliant PDF file. PDF/X is a subset of the PDF standard that facilitates graphics exchange and has a series of printing-related requirements that do not apply to standard PDF files. PDF/X-4 standard is now supported starting from this release.
  • Added an option to avoid two calls from the CustomSignHash delegate during signing. If you use SignHash to create a digital signature, you may find that the delegate is called twice during the document-saving process. For example, if a PIN code request occurs during the call, you can use the AvoidEstimatingSignatureLength option for the PKCS1, PKCS7, PKCS7Detached, and ExternalSignature classes.
  • Added a new GetSignatureNames() method to obtain information about PDF digital signatures. This method returns a list of SignatureName objects, which prevents collisions when verifying signatures with the same names. Methods that accept the SignatureName type instead of a string signature name have also been added. The old PdfFileSignature.VerifySigned() method has been deprecated.
  • Added the ability to add a TextBoxField with several widget annotations.
  • You can now enhance image compression without quality loss when optimizing PDFs.
  • Updated System.Text.Json dependency version to avoid possible vulnerability.
  • PDF signature attack detection has been improved to prevent false positives.
  • Added the ability to edit values in the ExtGState subdictionary of the resource dictionary.
  • The Document Repair method has been improved to check and fix values in the Annotation.Rect array.

不具合の修正

  • Text stamp not properly added to PDF.
  • Aspose.PDF 21.12 PdfExtractor extracts only the first four pages when the venture license is used.
  • PIN box for smart card authentication appears two times while signing a PDF document.
  • System.NullReferenceException thrown.
  • Link annotations get duplicated on the first and second pages.
  • Creating table: Content overflow in a Table Cell.
  • Regression: Wrong PDF-to-XSLX conversion.
  • PDF with 17 pages loads only 6 pages and the other 11 pages in the collection are null.
  • Missing text when converting particular PS to PDF.
  • Converting PS to PDF produces a blank document.
  • PDF to PDF/A-2b - An exception occurs while converting.
  • WordWrap property is not working when TextStamp is rotated.
  • Bookmarks Titles are changed - Change zoom of bookmarks.
  • Aspose.PDF memory leak issues while merging multiple PDF files and adding page number.
  • PostScript to PDF conversion generates empty output.
  • HTML Superscript looks different in PDF (the baseline is lower and the font bigger).
  • PdfException when Verifying a signature.
  • Chinese language characters are not being rendered correctly when adding bookmarks.
  • Copying text from one PDF to another - Rotated text is not being copied correctly.
  • Remove text failed with IndexOutOfRangeException.
  • Null reference error from TextFragmentAbsorber.
  • Various properties of CheckBoxField are throwing NullReferenceException.
  • PDF to PNG - incorrect rendering of the text.
  • Output PDF/A-1b - incorrect rendering of the text style symbol.
  • PDF to PDF/A-1a - the output PDF does not pass the compliance test.
  • PDF to TIFF: StackOverflow exception.
  • System.IndexOutOfRangeException occurs while searching text in PDF files.
  • Flattening PDF with 'UpdateAppearances = true' throws IndexOutOfRangeException.
  • GraphicsAbsorber.Visit(Page) throws System.NullReferenceException.
  • PDF signature verification issue.
  • Outline titles with unmatched parentheses cause corrupted PDF outlines.
  • PageNumberStamp creates the corrupted file.
  • Setting text on textFragment place cuts of the text.
  • Conversion of XFA form to standard hangs.
  • System.NullReferenceException is thrown when saving a PDF file.
  • PDF to PDF/A-2 conversion leads to "PDF-Syntax" Error.
  • PDF/A conversion issue under load test with concurrent users.
  • Aspose.PDF 23.11.1: Loading a particular PS document throws an exception.
  • PDF to SVG: PCDATA invalid Char error.
  • PDF to SVG: Content not rendered correctly.
  • Regression; HTML to PDF - SVG with Arabic text not rendered correctly.
  • PDF printing performance with System Fonts.
  • While replacing a text using TextFragment.Text throws System.NullReferenceException.
  • IndexOutOfRangeException thrown under Linux in PdfExtractor.ExtractText.
  • Hang while generating page.
  • Regression: The result of TextAbsorber for a page rotated by 90 has deteriorated compared to version 23.11.1.
  • OutOfMemoryException is thrown while adding SVG as ImageStamp.
  • System.IndexOutOfRangeException is thrown TextFragmentAbsorber.
  • Bookmark issue while concatenating PDF documents.
  • API throws ArgumentNullException while attempting to access Outlines Collections.
  • PdfBookmarkEditor throws ArgumentNullException while extracting bookmarks.
  • Save does not finish/Corrupted 0kb file is generated.
  • PCL to PDF: some elements are located in the incorrect position.
  • PDF to DOCX - Hyperlinks are missing in the resultant file.
  • Bookmarks missing after PDF file concatenation.
  • Different Thai characters when exporting to HTML.