HTML5
Spec-correct parser with the real error-recovery algorithms (adoption agency,
foster parenting), the HTML5 named-entity table,
<template> handling, optional-end-tag
rules, tables with rowspan/colspan,
lists, semantic elements.
Typography
TrueType, OpenType, WOFF and WOFF2 font embedding; automatic subsetting for
small files; full-Unicode Type0/CIDFontType2 embedding with ToUnicode maps so
text in the PDF copies, searches and extracts correctly.
Layout
CSS Grid with a unified track engine — fr/minmax()/auto
tracks, align-content, spans that grow the implicit grid, and
content-sized columns when no grid-template-columns is given.
Flexbox with row/column direction, wrapping, and every justify-content
mode including space-between/around/evenly.
A design wider than the page shrinks to fit automatically
(ConverterProperties.PageScaling), with links and bookmarks
scaled to match.
Stylesheets
<link rel="stylesheet"> and
@import are fetched and folded into the cascade in document
order. Local files by default; remote fetches are opt-in and SSRF-guarded — private/link-local/
cloud-metadata addresses blocked, redirects re-validated, per-file and total byte caps, import-cycle
and depth guards.
Images
JPEG (grayscale/RGB/CMYK with Exif), PNG (every bit depth, interlacing, full alpha),
WebP (lossless / VP8L), GIF, BMP, inline SVG shapes and strokes, EXIF auto-orientation, parallel
async downloads, and a pluggable ImageFetcher
delegate for private blob storage. TIFF and JPEG-2000 not decoded. Also available standalone:
ImageToPdf turns one or more images directly into a PDF —
Contain/Cover/Stretch/None fit modes, one image per page, no HTML required.
Visual fidelity
Linear, radial and conic gradients rendered as true PDF shadings (not
rasterized), CSS transforms and filter: blur(), box-shadow with real Gaussian blur, per-corner
border radius, per-side dashed/dotted/double borders, outlines, opacity,
text-overflow: ellipsis,
word-break/overflow-wrap, ::before/::after with
content counters, SVG clipPath / <use> / <symbol>.
Print & paging
@page size/margins/margin-boxes, page counters,
named page sizes (A4/Letter/Legal/landscape), headers/footers in HTML styled by
your document's own CSS, widows/orphans,
break-inside: avoid, repeating table headers. Note:
border-collapse: collapse shared-border dedup is not yet optimized.
Color
sRGB, device-cmyk() for print workflows,
embedded sRGB ICC output intent for PDF/A.
PDF output
Versions 1.4–2.0, classic and cross-reference-stream xref, Flate
compression (50–75% smaller files), document metadata + XMP, encryption
(AES-256 and legacy RC4), watermarks, bookmarks/outline, link annotations,
embedded file attachments, tagged structure trees for accessibility, PDF/A-2B
and PDF/UA-1 modes. Fillable AcroForm fields (radio, checkbox, text, dropdown)
generated from HTML inputs.