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
GetEditingTextCaretPositionto 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 theis_add_all_unicodesparameter to control whether all possible Unicode values or specific Unicode values are embedded. TheAddUnicodes()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, andfullscreenobjects 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, andIsListBox()andIsSupportMultiSelect()to check multi-select support for list controls.Adjustable context length for keyword search results Added the parameters
sentence,match_sentence_start_text_index, andmatch_sentence_end_text_indextoRetrieveSearchResult()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
ConvertCallbackfunction 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
InsertTablePagesToDocumentprocesses overly long cell content