Skip to content

Foxit PDF SDK (Desktop/Server) 9.2.0

Release date: November 7, 2023

New features and improvements

  • Get text field caret position Added the new API GetEditingTextCaretPosition to obtain the caret position within a text field during form filling or editing.

  • Flexible font embedding control To improve font embedding efficiency, the Embed() function now includes the is_add_all_unicodes parameter to control whether all possible Unicode values or specific Unicode values are embedded. The AddUnicodes() method was also introduced so you can add Unicode values to embedded fonts as needed.

  • XFA form control selection state Added the new API XFAWidget::SetCheckState() to control the selection state of CheckBox and Radio XFA controls.

  • PDF/A-compliant signatures To help signed documents meet PDF/A standards, the SDK adjusted underlying code to support image-based signatures and introduced the new API EnableEmbedFont() to support text-based signatures.

  • Enhanced PDF JavaScript support This release adds support for the cursor, printparams, icon, hostcontainer, and fullscreen objects so the SDK can interact with PDF documents that embed JavaScript using these objects.

  • XFA form field multiline and multi-select detection Added IsSupportMultiline() to check multiline support for text field controls, and IsListBox() and IsSupportMultiSelect() to check multi-select support for list controls.

  • Adjustable context length for keyword search results Added the parameters sentence, match_sentence_start_text_index, and match_sentence_end_text_index to RetrieveSearchResult() so you can adjust the context length of search results.

  • Enhanced full-text search The full-text search engine was upgraded in this release, significantly improving search accuracy.

  • Office2PDF on Linux supports LibreOffice 7.0

Bug fixes

  • [PDF2Word] Fixed a multithreading crash when the ConvertCallback function is non-empty and needs to pause
  • Fixed signature loss when calling StartRenderXFAPage() to render dynamic XFA forms
  • Fixed OCR runtime errors and recognition inaccuracy by upgrading the OCR engine
  • Fixed various incorrect FullTextSearch results by upgrading the full-text search engine
  • [HTML2PDF] Fixed cases where HTML to PDF reported success but did not generate a file
  • Fixed excessive memory use in GeneratePreviewBitmap() when processing high-DPI bitmaps
  • Fixed polygon annotations with a triangle style having truncated vertices after appearance reset
  • Fixed cell height not adapting when inserting cross-page tables with InsertTablePagesToDocument
  • Fixed out-of-memory (OOM) exceptions when InsertTablePagesToDocument processes overly long cell content