@fuxinsoft/foxit-pdf-sdk-node
v11.0.0
Published
Foxit PDF SDK For Node.js.
Readme
Foxit PDF SDK v11.0 Release Date: 31 July 2025
📦 Platform and Ecosystem
💻 Programming Languages and Platforms
- Go Language Support: Added Go language support for Linux x32/x64 and macOS x64 platforms
� ️ Note: OCR and Compliance features are not supported in the current Go library. - Python Enhancements:
- Expanded Platform Support: Python library now supports Linux ARM architecture
- Improved Version Compatibility: Built with ABI3 interface to ensure compatibility with Python 3.11 and future micro versions
🧩.NET Ecosystem
- Foxit.SDK.Dotnet NuGet Package: Added macOS Arm64 architecture support
- .NET Core: Now supports Linux ARM architecture
- Strong Name Support: Applied to PDF Print Manager for both .NET Framework and .NET Core
� Logging and Debugging
Enhanced Logging
- Stream-based Logging: New
SetLogFile()method now supports stream callbacks - Log Flushing: New
FlushLog()method for immediate log write-out
🔐 Security and Compliance Enhancements
Enhanced Thread Safety:
- Document-level thread safety improvements
Library::Initialize()adds optional parameterbool enable_js_xfa_threadsafety = falsefor JavaScript and XFA thread safety
New
Sanitize()Method: Automatically detects and removes hidden or sensitive infoRemoveHiddenInfo()Method: Allows selective cleanup of metadata, scripts, etc.EnableHandleTransparency()Method: Removes transparency during PDF/A conversion for compliance
🎨 Graphics and Rendering Enhancements
🧩 Graphics Objects
- New Object Types:
e_TypeInlines: Correct rendering of small inline images (e.g., stamps/logos)e_TypeEmptyMarkedContent: Preserves tag structure of empty content
🖥️ Rendering Control
SetScreenDPIScale()for high-DPI scaling of notesSetRenderLayer()to control which layers are renderedClearClips()to reset clipping regions- Transparency support in
StartRenderBitmap() - New
ContentFlagenum values for highlight-only rendering
🎨 Color and Display
SetForegroundColor()andSetForegroundColorMode()for text/path color control- Support for WebP image format (
ImageType.e_WEBP) ConvertToMono()supports conversion to 1-bit monochrome
📄 PDF Object Management
CreateFromName()andCreateFromNameW()for named object creationPDFArray::AddReference()to insert reference entriesCreateFromString()enhanced to accept length parameter
📄 Page and Content Management
📑 Page Operations
PageBasicInfoArray: Represents lightweight info for all pagesGetAllPageBasicInfo(): Bulk retrieval of page basics
📥 Extraction and Insertion
- New enums:
e_ExtractPagesOptionBookmarkforStartExtractPages()e_InsertDocOptionBookmarkforInsertDocument()
InsertDocument()now supports optionalbookmark_titleparameter
🔤 Font and Text Management
- Directional font sizing via
TextState::font_vertical_sizeandfont_horizontal_size Font(StreamCallback* stream)constructor now supports font stream inputSplitTextsInRectangle()allows character-level separation of text in specified areas
✍️ Signature Management
UnregisterSignatureCallback()to restore default SDK signature handlerAddPagingSealSignature()now includesto_check_permissionflag for permission validation
🧱 Layer Management
LayerNode::GetAnnots()retrieves annotations per layerLayerTree::GetOCGsByPageIndex()supports page-based OCG accessSetOCGStateActionclass added for batch visibility control
📝 Forms and XFA
� Form Recognition
StartRecognizeForm()overload allows control over tooltip generation
XML/XFA Enhancements
GetXMLContent()provides access to internal XFA XMLExportData()supports stream-based outputDocProviderCallback::SetFocus()addsre-layoutparameter for layout change notification
� OCR and Conversion
🔡 OCR Enhancements
OCRConvertTo()supports direct conversion to formats (DOCX, RTF, etc.)OCRCallbackclass andSetOCRCallback()method to monitor and terminate OCR jobsis_sequentially_processparameter added to switch between sequential/parallel modes
🌐 HTML to PDF
to_hide_headerandto_hide_footercontrol header/footer visibilityto_deny_local_file_accessenhances security during HTML conversion
🖼️ Image and Document Optimizer
🖼️ Image Optimizer
- JPEG 2000:
SetTileSize()for tile control- New
e_ImageCompressQualityLosslessoption
- ZIP compression via
e_ImageCompressZip - More options for monochrome compression via
MonoImageSettings
📉 Document Optimizer
OptimizeScannedPDF()for scan-heavy file compressionComputeAuditSpace()calculates optimization potential- Enhanced cleanup via new enums
SetSubsetAllEmFonts()for unembedded font subsetting
📊 Table Generator
GetNewPageBasicInfo()callback added to retrieve rendered table height on new pages
Bug Fixes
📄 PDF Rendering
- Fixed PDF/A1-b conversion verification failure caused by transparencies
- Fixed issue where flattening specific files causes blank pages
- Fixed issue where progressive rendering with step size 5000 causes missing content
- Fixed issue where certain files cannot be rendered
- Fixed issue where prepress preview shows incomplete text for specific documents
� OCR and Conversion
- Fixed issue where PDF OCR conversion takes too long without output
- Fixed issue where OCR results show ghosting effect
- Fixed issue where OCR with auxiliary effect interface produces poor results and Word conversion fails
- Fixed issue where OCR requires Chinese character set on Linux even when OCR language doesn't include Chinese
- Fixed issue where images are missing in HTML to PDF output file
- Fixed issue where
getGraphicsObjectPositionreturns 0 and transparency setting fails - Fixed issue where specific HTML content cannot be converted to PDF
- Fixed issue where HTML2PDF output is incorrect when source HTML has fixed header and footer
🧩 Forms and Annotations
- Fixed crash issue on
foxit::pdf::interform::Field::SetValueafter processing 30 pages - Fixed issue where created note location and displayed location are inconsistent for certain documents
- Fixed issue where generated typewriter annotations show red border after editing in editor
- Fixed issue where screen annotations show black border when
BorderInfois not set
🧷 Structure / Bookmark / Object Issues
- Fixed issue where value and unit of measure markups are not displayed after importing from XFDF created by Web SDK demo or Foxit PDF Editor
- Fixed issue where
AddTextwith Arabic text doesn't match expected rendering effect - Fixed issue where Type3 text object converted to image object shows blank content
- Fixed crash issue when filling special position forms in iOS
- Fixed issue where scanned documents with minimal path elements are incorrectly identified as non-scanned
- Fixed issue where
PDFPageparsing returns empty for certain documents that work in WPS and Adobe
🗂️ Optimization
- Improved
TextPageconstructor performance to match version 9.0 speed - Fixed issue where optimizer image compression progress rate only shows 0 or 100 percent
🔐 Security and Compliance
- Fixed issue where Chinese characters in certificate subject information appear garbled
- Fixed PDF/A1-b conversion verification failure caused by transparencies
⚙️ API and Integration
- Fixed issue where
UpdateHeaderFooterAPI only updates one header/footer and removes others - Fixed syntax errors in TypeScript declaration file of
@foxitsoftware/foxit-pdf-sdk-nodepackage - Fixed issue where text search and replace reports
"any unknown error occurs" - Updated developer guide to include Conversion SDK version dependency for PDF to Office in GSDK 10.0 and 10.1
- Fixed issue where C#
bookMark.Titleends with extra null character - Fixed issue where concurrent calls to C++
pdfprintshow parameter error
🌐 Cross-Platform Support
- Fixed crash issue when filling special position forms in iOS
- Fixed issue where
StartImportPagesimports blank pages - Fixed issue where
StartImportPagesnever finishes for certain documents
