Aspose.PDF for Java 21.5 Release Notes

Improvements and Changes

PDFJAVA-40474Add API for merging imagesNew Feature
PDFJAVA-40491XFA: Add 3of9 barcode support for XFA to standard forms conversionEnhancement
PDFJAVA-39657FontNotFoundException: Font Times New Roman was not found, but only sometimesEnhancement
PDFJAVA-40490How to extract font full name from it description/resource at PDF?Enhancement
PDFJAVA-40394Culture Name: en-cn is not a supported cultureEnhancement
PDFJAVA-39504PDF to PDF/A - Link are lost in output PDFBug
PDFJAVA-39982Create TOC to jump to specific heading instead of complete pageBug
PDFJAVA-39127PDF file not properly converted to DOCXBug
PDFJAVA-40408Binarize a color pdf page to a b&w imageBug
PDFJAVA-40406PDF to TIFF results in blank output pagesBug
PDFJAVA-34809PDF to DOCX - Missing text/Strange text placement in resultant fileBug
PDFJAVA-35584Unable to extracting complete table contents from PDFBug

Public API and Backwards Incompatible Changes

Added new methods

  • com.aspose.pdf.Artifact.getLines()
  • com.aspose.pdf.Artifact.getTextState()
  • com.aspose.pdf.Artifact.setTextState(TextState)
  • com.aspose.pdf.devices.PngDevice.processToBufferedImageBinarized(Page,double)
  • com.aspose.pdf.Font.getBaseFont()
  • com.aspose.pdf.FontRepository.addSystemFont(Font)
  • com.aspose.pdf.XImage.getMetadata()

Changed method’s parameter:

  • com.aspose.pdf.facades.PdfConverter.mergeImages(java.util.List<>,ImageFormat,int,Integer,Integer) -> mergeImages(java.util.List<>,int,int,Integer,Integer)

Renamed methods:

  • com.aspose.pdf.optimization.ImageCompressionOptions.getCompressImages() -> isCompressImages()
  • com.aspose.pdf.Stamp.getBackground() -> isBackground()

Added new class:

  • com.aspose.pdf.ImageFormat