v1.4.1
1.4.1

Version 1.4.1

2026-11-06

Bug Fixes

・Fixed a crash when multiple threads converted HTML at the same time while sharing the same font provider. A single font provider can now be safely shared across concurrent conversions.

・Fixed fonts declared by @font-face being replaced by a system font with the same family name; @font-face fonts now take precedence.

Improvements

・Web fonts loaded through @font-face are now cached for the whole process, so the same font is no longer downloaded and loaded again for every conversion.

Contact us
1.4.0

Version 1.4.0

2026-10-28

New Features

・Added automatic download of web fonts and style sheets from Google Fonts through @import, <link>, and @font-face, with every declared font weight applied. Only HTTPS requests to fonts.googleapis.com and fonts.gstatic.com are allowed, and email to PDF conversion never accesses the network.

・Added support for variable fonts, instantiating the wght axis according to font-weight.

Bug Fixes

・Fixed the CSS aspect-ratio property having no effect on <img> elements.

・Fixed non-base64 data:image URIs, such as data:image/svg+xml;utf8,%3Csvg..., not being displayed.

・Fixed SVG images being stretched when preserveAspectRatio was not specified, and vertical alignment values such as xMidYMid being ignored.

・Fixed an extra blank page generated between forced page breaks when the content slightly overflowed the next break.

・Fixed variable font instances being rendered with an additional synthetic bold.

Security

・Hardened TLS certificate validation for online license verification and remote font download, and removed affected certificate authorities from the built-in root certificates.

Contact us
1.3.0

Version 1.3.0

2026-10-16

New Features

・Added page margin configuration APIs for setting and reading the top, right, bottom, and left page margins.

・Added HTML header and footer options, including templates, base URI, title, URL, date, and page-number controls.

・Added email to PDF conversion for EML and Outlook MSG files, including HTML export, attachment and diagnostic access, conversion options, and page settings.

Contact us
1.0.0

Version 1.0.0

2026-02-11

New Features

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.

Contact us

Get In Touch

Email

Sales

Support

Ready to Get Started?

Adding our 30-day trial into your app is a breeze. Contact ComPDF now and enhance your app with a top-notch PDF experience in minutes!
Get Started