Skip to content

Foxit PDF SDK (Desktop/Server) 9.1.0

Release date: August 22, 2023

This is a minor release.

New features and improvements

  • Set appearance before signing Related API: foxit::pdf::Signature::GenerateAppearance()

  • Add signatures using a shared dictionary Related API: foxit::pdf::PDFPage::AddSignatureWithExistedVDict()

  • Allow incremental save before calling Signature::StartSign() Related API: Foxit::pdf::Signature::EnableIncrementalSaveForFirstSigning()

  • Modify appearance of existing unsigned paging seal signatures before signing Related API: foxit::pdf::Signature::GetPagingSealSignature()

  • Add paging signatures using a shared dictionary Related API: Foxit::pdf::PagingSealConfig::PagingSealConfig()

  • Ignore full-width character search Related API: Foxit::pdf::TextSearch::SearchFlags()

  • Remove invalid PDF indexes Related API: Foxit::pdf::FullTextSearch::StartUpdateIndex()

  • Support new PDF JavaScript objects Including "Doc.pageTransition", "Doc.templates", "Span", and "Soap"

  • [Office2PDF] Control VBA execution during Office2PDF on Windows Related APIs:

    • foxit::addon::conversion::Word2PDFSettingData::Word2PDFSettingData()
    • foxit::addon::conversion::Word2PDFSettingData::Set()
  • [HTML2PDF] Control converter environment and IP blocklist Related APIs:

    • foxit::addon::conversion::HTML2PDFSettingData::HTML2PDFSettingData()
    • foxit::addon::conversion::HTML2PDFSettingData::Set()
  • Multi-line tiled watermarks and options Related API: foxit::pdf::PDFDoc::StartAddTiledWatermark()

  • Auto font size for redaction overlay text Related API: foxit::pdf::annots::Redact::EnableAutoFontSize()

  • Retrieve suspicious OCR results during OCR Related API: foxit::addon::ocr::OCR::GetOCRSuspectsInfo()

  • Save documents without updating date/time metadata Related APIs:

    • PDFDoc::SaveAs()
    • PDFDoc::StartSaveAs()
  • Enable text rotation when adding text Related API: PDFPage.AddText()

  • New object-level classes for traversing the PDF structure tree New header: fs_pdfstructtree.h

  • Validation for PDFCompliance Related API: foxit::addon::compliance::PDFCompliance::Verify()

  • Image to PDF with file path and stream options Related API: foxit::addon::conversion::Convert::FromImage()

  • JavaScript actions for link annotations Related API: foxit::pdf::annots::Link::ExecuteJavaScriptAction()

  • Reset default values for XFA widgets Related APIs:

    • foxit::addon::xfa::XFAWidget::SetDefaultValue()
    • foxit::addon::xfa::XFAWidget::GetDefaultValue()
  • PDF printing interface on Linux Related API: foxit::common::Renderer::Renderer()

  • Java library supports Linux ARM

  • Updated compliance library for improved overall processing

  • Enhanced Windows C library support for compatibility and error handling

Demos

  • Added demo projects for Visual Studio 2019 and 2022

Bug fixes

  • Fixed link annotations returning empty destinations in certain documents
  • Fixed circular annotation appearance where some circular edges were clipped after reset
  • Fixed incorrect rendering of note annotations in specific files
  • Fixed image loss caused by pausing during compression
  • Fixed "[Unknown error]: any unknown error occurs" when running office2pdf on Linux
  • [Java] Fixed crash when calling getEditableHeaderFooter while adding headers/footers to documents that already have them
  • Fixed no exception when overwriting the original PDF with PDFDoc.SaveAs
  • Fixed extra content in page headers/footers when the last two characters of content are a single book title mark
  • [Java] Fixed incorrect return type for StructTreeEntity.getPage
  • Fixed garbled text when using PDFDoc.GetPageText on Linux for specific documents
  • Fixed e_ErrUnsupported when rendering PDF pages with transparency and DIBFormat set to e_DIBCmy
  • Fixed PDFDoc::StartLoad not accurately reporting load progress during document loading
  • Fixed incorrect automatic multiplication results for form fields on Android
  • Fixed abnormal results from AdditionalAction::DoJSAction
  • Fixed inability to clear password-protected text fields with JavaScript
  • Fixed misaligned values in list boxes after selection and refocus in ViewDemo
  • Fixed crash when calling Control.GetWidget() on specific files
  • [Java] Fixed "File cannot be found" when calling Image.saveAs with paths containing Chinese characters
  • Fixed Page.AddImage errors with large TIF files
  • Fixed extra gray blocks when inserting barcode images with AddImageFromFilePath
  • Fixed C++ SDK library incompatibility on Linux ArmV8
  • Fixed Linux OCR engine exceptions due to insufficient RAM
  • Fixed overlapping text in OCR output for skewed source documents
  • Fixed unhandled exception in ComplianceModule when converting OCR-processed PDFs to PDF/A
  • Fixed crash when converting specific PDF files to PDF/A
  • Fixed AccessViolationException when converting specific PDFs to PDF/A
  • Fixed excessive time for Control.GetWidget() on XFA files
  • [PrintManager] Fixed GetPrintJobStatus returning incorrect print status
  • Fixed black blocks in some areas of print output for specific documents
  • Fixed FullTextSearch encoding so Chinese text can be searched correctly
  • Fixed FullTextSearch unable to search indexed files without updating the index