・Multi-threading crash issue fixed.
・Prioritize using the specified remote fonts.
・Support direct use of SVG content in image URLs without requiring Base64 encoding.
・Support the aspect-ratio attribute on <img> elements to keep image proportions consistent with browser rendering.
・Automatically select the font weight specified by font-weight when a single font file contains multiple weights, instead of always using the lightest weight.
・Automatically download and use Google Fonts referenced by the page.
・Strengthen TLS certificate validation for native online resource requests and restrict certificate configuration to supported trust store paths.
・Update the embedded CA certificate bundle used for native network resource loading to fix certificate chain validation issues.
・Improve the handling of certificate validation failures and remote resource errors when loading online fonts, images, and other external resources.
・Improve security checks during remote resource loading to prevent access to external resources that do not comply with the security policy.
・Added CEmailConverter APIs for converting EML and Outlook MSG messages to HTML or PDF from file paths, File objects, byte arrays, and input streams.
・Added offline HTML package export, access to body resources and attachment data, and queries for selected body provenance.
・Added email format detection, configurable byte budgets, cooperative cancellation, conversion status codes, and detailed diagnostics.
・Added page margin configuration APIs for setting and reading the top, right, bottom, and left margins in CSS pixels.
・Added HTML header and footer options, including templates, resource base URI, title, URL, date, page counters, and controls for skipping cover pages and numbering pages.
・Improved native library extraction and loading by using a dedicated Java temporary directory.
・Updated Linux native dependencies for PNG and JPEG image decoding.
・Added resource lifetime checks, callback reentry protection, and Java stream/cancellation exception reporting for email conversion.
・Added EmailConvertTest examples for EML/MSG parsing, export of HTML packages, PDF generation with headers and footers, and stream conversion.
・Added PrintOptionsTest and FamilyHeaderFooterTest examples for page margins, header/footer templates, cover pages, and page numbering.
・Expanded public API comments and regenerated the Java API Reference, including the email conversion interfaces.
・This release package targets Linux x86_64 and Java 8 or higher. Use the matching JAR and native library.
・PDF generation requires a valid initialized license. Email parsing and HTML export require the native library to be loaded but do not require a license.
・Email PDF output contains the message body and an optional attachment list. Attachment files are exported separately with the HTML package; they are not embedded in the PDF or rendered as additional pages.
For API details and examples, open API Reference/index.html or consult develop_guide_java_en.pdf and develop_guide_java_zh.pdf in the SDK package.
New HTML to PDF Generation Feature
・Supports defining HTML templates, compatible with commonly used HTML tags and CSS styles.
・Supports dynamically generating PDFs using HTML templates and JSON data.
・Supports dynamic insertion of text, images, and table data.
・Supports setting filling rules, such as conditional statements, loop statements, arithmetic operations, and common functions.
・Supports custom PDF page settings and fonts.
New Layout API PDF Generation Feature
・Supports complete programmatic control to precisely control the position, size, and style of each element in the document.
・Supports rich element types including text, paragraphs, tables, lists, images, and separators.
・Supports flexible layout system with block-level elements, inline elements, and absolute positioning.
・Supports complete style system with reusable styles, box model, background, and fonts.
・Supports flowing layout with automatic pagination and content reflow, including table headers and footers repeating across multiple pages.
・Supports tree-structured document organization with intuitive hierarchical structure.