Generate PDFs from HTML/CSS in Python, Rust, JavaScript, and C#. MIT licensed.
Build invoices, reports, statements, and variable-data print jobs with a deterministic Rust engine. Use the native Rust API, the Python package, or the optional JavaScript and .NET integrations. The Python wheel includes the engine, fonts, and CLI with no required third-party Python packages or system PDF stack. The JavaScript package includes the WebAssembly engine and fonts for Node.js and browser workers; the .NET package includes native libraries for in-process rendering.
The language packages release independently. The Node quickstart,
browser guide and
C# quickstart record the
tested package and engine versions; downloadable starters pin their dependencies.
JavaScript applications can export styled or unstyled component HTML
and generate PDFs and previews. Import fullbleed in Node or fullbleed/browser
in a web app. Node applications can use a
bounded render queue
and optional process isolation.
FullBleed.DotNet's managed library targets .NET 8 and works with .NET 8, 9, and 10
applications. It includes C# components, native rendering, compiled bindings and
previews. Its separate CLI adapter requires the Python CLI.
The Python package provides the complete CLI, including compiled variable-data jobs and print profiles; the Rust guide covers the native API.
Your first PDF
Start in the HTML/CSS playground to edit a designed invoice or report and download a real PDF. It runs locally in your browser with no account or document upload. You can also use the Python notebook in Colab, or start with a local script:
Open invoice.pdf or its PNG preview. The Node.js quickstart includes a downloadable designed invoice project. The separate Node package supports ESM, CommonJS, and TypeScript. For an application route, use the Next.js starter.
Browser JavaScript
Try the editable browser app
to generate an invoice or report, change its HTML/CSS, and download the PDF.
Rendering runs locally in a Web Worker; the starter does not upload document
inputs to a rendering service.
To build on it, download the complete project.
Extract the ZIP, open a terminal in fullbleed-browser-starter, and use Node.js
22.12 or newer for the development tools:
npm ci
npm run dev
Open the localhost URL printed by Vite. The browser guide
explains adding fullbleed/browser to an existing app, serving its runtime
assets over HTTPS or localhost, cancellation, custom fonts, and static deployment.
This renders supplied static HTML/CSS; it does not capture a live browser page.
Rust
Start with the native Rust quickstart. The fullbleed crate exposes FullBleed::builder() and render_to_buffer(...), with no Python requirement. The guide includes runnable invoice and report examples with explicit fonts and PNG previews, plus the latest hosted Rust API reference.
C# and .NET
Install FullBleed.DotNet in a .NET 8, 9, or 10 project and follow the C# quickstart. Compose documents with ordinary methods, LINQ children and immutable style objects. The component guide explains WithClass, attached stylesheets and inline overrides and includes a complete invoice download with explicit fonts. Existing HTML/CSS templates remain supported. Native rendering runs inside the .NET process on Windows x64, Linux x64, Intel macOS, and Apple Silicon macOS, without a Python or browser runtime.
Author with reusable components
Build reusable function components with props, nested children, lists and
conditional content. Author with named elements and Python style mappings:
This complete workflow is available in 2.5.25. Text is escaped and components
compile to the same HTML/CSS print engine. Follow the
component authoring guide or run the
designed component invoice with explicit fonts, reusable
rows, paid/unpaid states and PNG previews.
The opt-in Python component alpha
adds components that carry their styles, named customization parts, column-based
tables, and static Bootstrap 5.0.0 components. Export HTML with styles included or
removed, or render the same document as a PDF. The guide explains class_name
and includes a runnable kit. This API is experimental; follow its explicit
prerelease installation instructions.
For JavaScript, compose documents with functions or JSX/TSX.
The React starter connects typed
document components to editable data, live PDF previews and downloads. It
includes the complete component and style source for customization.
Choose your starting point
You want to build
Start here
Distinctive invoices, reports, notices, and statements
Inspectable output: PDF inspection, PNG previews, structured diagnostics, and profile verification tooling.
Native previews of unembedded Standard 14 fonts use compact bundled outline
substitutes, so basic Helvetica, Times, Courier, Symbol, and Dingbats text renders
without system fonts. Registered and embedded font programs take precedence.
The font-resolution trace identifies the bundled_substitute outcome; runtime
discovery reports bundled_standard_font_previews. See the
font sources, licenses, and coverage limits.
Fullbleed uses static HTML/CSS as a document layout language. Check the CSS coverage and remaining gaps for your templates. Use a browser when JavaScript or live website behavior is part of the required result.
Profile selection alone does not establish standards conformance. The release evidence records the checks performed and their limits.
Get help and contribute
Ask usage questions and share documents in Discussions. For a reproducible bug or feature proposal, open an issue. The contributor guide covers local setup, tests, and where to make changes.
If Fullbleed is useful to you, support its maintenance through sponsorship, documentation, or a useful example. Sponsorship is optional; Fullbleed remains MIT licensed and free to use.
Agent discovery and integrations
An agent does not need release-specific Fullbleed knowledge. The installed binary generates one canonical contract containing its actual version, selection boundary, capabilities, parser-derived CLI surface, result schemas, PDF profiles, examples, limitations, Agent Skill metadata, MCP tools, and acceptance tasks:
The committed fullbleed-agent-contract.json, cli_schema.md, and llms.txt are generated from the built wheel. CI rejects version, command, schema, profile, or capability drift. Runtime introspection remains authoritative.
The first-party, versionless skills/fullbleed/SKILL.md teaches tool selection and the render/preview/diagnose/verify loop without duplicating the manual. It is bundled in the wheel and can be exported into any absent or empty agent-skill directory:
The stdio server confines document paths to the selected workspace and delegates every engine operation to the installed Fullbleed runtime. It exposes semantic discovery, project creation, render/preview, inspect, verify, assets, and fixed/reflow compiled VDP tools. The dependency-free core also provides fullbleed mcp --root ..
Use Fullbleed when the requested artifact is a deterministic print document built from structured content. Use a browser when the requested artifact is a screenshot or interactive state of an arbitrary live website. Use a general PDF editor when existing page content itself must be rewritten.
Cold-agent testing is available through fullbleed agent-acceptance; compact copyable workflows live in examples/agent_workflows, and the approach-neutral benchmark scaffold lives in agentdocbench.
docs/install-non-technical.md (step-by-step setup for non-technical users)
docs/css-coverage.md (validated CSS coverage, parity status, and active gaps)
docs/README.md
docs/engine.md
docs/performance-architecture.md
docs/performance-pass-2026-08-04.md
docs/python-api.md
docs/ui-accessibility.md
docs/cli.md
docs/pdf-templates.md
What You Get
No headless browser requirement for PDF generation.
Deterministic render pipeline with optional SHA256 output hashing.
Reproducibility workflow via --repro-record and --repro-check.
PDF 1.7 as the production-stable default target.
Rust-native PDF template composition for VDP/transactional overlays.
Native Rust image emission for overlay and finalized compose outputs (--emit-image) without external PDF raster runtime dependencies.
Feature-driven page-to-template binding with per-page deterministic compose plans.
Structured JSON result schemas for CI and AI agents.
Offline-first asset model with explicit remote opt-in.
Remote project template registry workflows (new list, new search, new remote).
Python-first extension surface for hackability and custom workflows.
Python render calls release the GIL while Rust rendering executes.
Ordered standard-library worker pools for batch rendering and selected internal workloads.
A deliberately small, license-audited Rust dependency graph and no required third-party Python
runtime or build packages.
Concurrency Model
Python binding render methods release the GIL during Rust execution through the Stable ABI bridge.
Parallel batch APIs use Fullbleed's ordered standard-library worker pool (render_pdf_batch_parallel(...) and parallel-to-file variants).
The same bounded worker implementation serves selected internal hotspots such as table layout and JIT paint paths.
Do not assume every single-document render path will fully saturate all cores end-to-end.
Performance in 2.2
Fullbleed 2.2 retains exact TrueType glyph subsetting and adds compiled fixed-geometry variable-data
binding. Across the five independent benchmark fixtures, PDFs are 95.5-97.3% smaller and ordinary
warm rendering is 2.90x faster by geometric mean than released 2.0.0.
The new compile-once API freezes an immutable Q32.32 display document and can link it repeatedly
without rerunning HTML parsing, selector matching, layout, pagination, or command planning. For
identical untagged copies in one ordered PDF, CompiledDocument.render_pdf_batch(...) shares each
source page's content stream across the copied page dictionaries. The measured 20-copy lane is
200.7x faster per page by geometric mean than the released 2.0.0 warm renderer; a 1,000-page stress
run sustained 304,479-666,622 pages/s.
The 2.2 compiler includes a genuine fixed-geometry variable-data lane. A compiled invoice
with six bound fields rendered 100,000 distinct records in a five-run median of 283.807 ms to
memory (352,352 pages/s) and 295.999 ms directly to a flushed 88.1 MB PDF
(337,839 pages/s). Including the one-time 4.168 ms compile gives 333,147 direct-file pages/s.
The harness verified all 100,000 unique invoice IDs in page order, exact page count, resolved
markers, deterministic bytes, and equal buffer/file SHA-256. Reproduce it with:
Fixed-geometry slots may remain inside immutable page-space transforms and clips. The compiler
captures that active coordinate-state program once and replays it in each compact record overlay;
it does not rerun layout or clone the complete page display list.
Base-14/WinAnsi slot paint keeps the measured byte-patch linker. Registered embedded fonts use a
command-level overlay program so each bound value is shaped and included in the font subset while
the compiled layout, pagination, and static page stream remain shared. The throughput figures above
describe the Base-14 fast lane; they are not claims for registered-font shaping.
The fixed-copy result remains scoped to identical content; the variable-data result is scoped to
paint-only text whose geometry does not reflow. Neither is a claim that arbitrary new HTML or
size-changing records render 200x faster. See
docs/performance-pass-2026-08-04.md for measurements and
docs/performance-architecture.md for the packed vector IR,
typed-binding, virtual-linker, and shader roadmap.
Fullbleed 2.2.5 hardens the third compiler lane introduced in 2.2.4 for
size-changing records: CompiledDocument.render_pdf_reflow_bindings(...). It parses and recovers
the template DOM once and compiles encountered structural flow variants into guarded fixed-point
display programs. Matching records bind directly into those programs; workers execute pre-shaped
text/TJ paint slots, cached static PDF page segments, page-local Deflate, and one ordered linker.
Explicit trusted structural slots use data-fb-bind-html="slot". A value that no compiled variant
can safely place runs ordinary fixed-point layout once to add another variant.
On the independent 1,000-distinct-record case study, the 29-sample hot direct-file median was
216.160 ms: 4,626 records/s and 8,096 pages/s. The 168.995 ms best sample reached 5,917
records/s and 10,355 pages/s. It produced
the exact 1,750-page 500/300/150/50 reflow distribution and verified all 24,900 markers. The
throughput-tuned 6,870,320-byte PDF was deterministic across all samples. With the compact
compression setting, compiled output was also byte-for-byte identical to ordinary rendering:
5,298,961 bytes and SHA-256 bb3c441313a08fb00d3bd15f23a567981f3bbbd550908e3a9fe7a07ca5d7f138.
This is a hot compiled-variant result, not a claim for previously unseen structure. The first
variant-discovery render measured 0.509 s (3,437 pages/s), and the fully cold job including setup,
bindings, compilation, discovery, and write measured 0.588 s (2,975 pages/s). The independently
observed hot-median speedup over the ordinary path was 43.8x.
Install
New to Python or setting up on a fresh machine? Start with docs/install-non-technical.md.
Linux wheels cover manylinux2014 on x86-64, x86, ARM64, ARMv7, s390x,
and ppc64le, plus musllinux_1_2 on x86-64, x86, ARM64, and ARMv7.
Windows wheels cover x86-64, x86, and ARM64; macOS wheels cover Intel and
Apple silicon.
The CPython stable ABI allows each platform wheel to support Python 3.10
through 3.14.
CI installs and exercises every built wheel on its target architecture,
using native runners or QEMU as appropriate. The x86-64 manylinux wheel is
additionally tested on every supported Python version before publication.
Separate Windows and Linux jobs check Python 3.15.0rc3 with the standard GIL,
including the Python suite and byte-for-byte PDF/preview comparisons against
Python 3.10. See the preview coverage and its limits.
Verify command surface:
fullbleed --help
fullbleed capabilities --json
fullbleed doctor --json
60-Second Quick Start (Project Happy Path)
Initialize project scaffold:
fullbleed init .
fullbleed init now vendors Bootstrap (5.0.0) into vendor/css/bootstrap.min.css,
vendors Bootstrap Icons (1.11.3) into vendor/icons/bootstrap-icons.svg,
vendors inter into vendor/fonts/Inter-Variable.ttf, writes license notices
(vendor/css/LICENSE.bootstrap.txt, vendor/icons/LICENSE.bootstrap-icons.txt, vendor/fonts/LICENSE.inter.txt),
and seeds assets.lock.json with pinned hashes.
The scaffolded report.py also runs a component mount smoke validation before
main render and writes output/component_mount_validation.json (fails fast on
missing glyphs, actual pagination overflow, or CSS miss signals). On current engines,
render-time pagination is authoritative for overflow; conservative JIT placement bounds
remain the compatibility fallback for older engines.
Scaffolded components now include components/primitives.py with reusable
layout/content helpers (Stack, Row, Text, table/list helpers, key/value rows, etc.).
Each scaffolded project also includes SCAFFOLDING.md, which should be your
first read before restructuring components.
It also includes AGENTS.md, which preserves the installed-runtime-first
document workflow across future coding-agent sessions without making other
document tools categorically forbidden.
Install additional project assets (defaults to ./vendor/... in project context):
fullbleed assets install inter --json
Bootstrap baseline note:
We target Bootstrap (5.0.0) as the default styling baseline for project workflows.
Re-run fullbleed assets install bootstrap --json only if you want to explicitly refresh/bootstrap-manage outside init.
Render using the scaffolded component pipeline:
python report.py
Expected artifacts from scaffolded report.py:
output/report.pdf
output/report_page1.png (or equivalent page preview from engine image APIs)
output/component_mount_validation.json
output/css_layers.json
Canonical static PDF reference:
python examples/canonical_reference/report.py
examples/canonical_reference/ is the exhaustive scaffold-shaped reference for
component composition, layered CSS, bundled fonts/SVG, inline SVG, raster data
URIs, linked and standalone HTML artifacts, PDF output, PNG previews, and
validation reports.
Project Bootstrap Templates (fullbleed new)
Use local starters:
fullbleed new local invoice ./my-invoice
fullbleed new local statement ./my-statement
fullbleed new local accessible ./my-accessible-doc
fullbleed new local reference ./my-reference-doc
Discover remote starters from the registry:
fullbleed new list --json
fullbleed new search components --json
fullbleed new remote component-showcase ./my-documents --version 0.1.0 --json
The showcase contains the Northstar invoice and Common Ground report in both
HTML/CSS and Python components, sharing data, fonts, CSS and artwork. The
installer copies source files; it does not install dependencies or execute the
project. The component version requires the opt-in fullbleed==2.6.0a4
prerelease. Follow the paired authoring guide
to install it in a separate environment, compare the four pages, and edit with
a live PDF preview. For a smaller starting point, choose the
python-components starter
at template version 0.1.0.
fullbleed new local accessible is the verbose accessibility-first starter and
demonstrates the fullbleed.accessibility runtime surface (engine verifier,
PMR, PDF/UA-targeted seed checks, and non-visual trace artifacts).
fullbleed new local reference vendors the canonical static PDF reference shape
as a scaffolded project with component layers, assets, PDF/PNG outputs, page data,
and validation reports.
--deterministic-hash writes the output PDF SHA-256 by default; when --emit-image is enabled, it writes an artifact-set digest (fullbleed.artifact_digest.v1) over PDF SHA-256 plus ordered page-image SHA-256 hashes. JSON outputs expose outputs.deterministic_hash_mode (pdf_only or artifact_set_v1), with outputs.artifact_sha256 and outputs.image_sha256 when images are emitted.
Re-run and enforce reproducibility against a stored record:
PDF/compliance: --pdf-version, --pdf-profile, --color-space, --document-lang, --document-title
Stable default is --pdf-version 1.7 for shipping workflows.
Profile targets: none, pdfa1a, pdfa1b, pdfa2a, pdfa2b, pdfa2u, pdfa3a, pdfa3b, pdfa3u, pdfa4, pdfa4e, pdfa4f, pdfx4, pdfua1, pdfua2, pdfvt1, wtpdf1r, wtpdf1a, tagged.
Aliases: a, ua, vt, wt1r, wt1a, pdf/a, pdf/ua, pdf/vt.
Output intent metadata (--output-intent-identifier|--output-intent-info|--output-intent-components) requires --output-intent-icc.
pdfx4 and pdfvt1 force PDF 1.6 and require a title and explicit write date
(--timestamp current, a fixed UTC date, or --timestamp-source SOURCE_DATE_EPOCH).
PDF/VT composition documents record hierarchies, --pdf-vt-job,
private DPM, conservative reuse hints, and the independent release-validation boundary.
Run python tools/validate_pdf_profiles.py --download-verapdf --install-pdf-oxide --strict-external
to regenerate profile specimens, capture inspect/JIT evidence, replay
deterministic hashes, validate PDF/A and PDF/UA with veraPDF, and validate
PDF/X-4 with pdf_oxide. WTPDF profiles are validated with veraPDF
wt1r/wt1a and include PDF Declaration evidence. pdfa4f emits and
checks an associated EmbeddedFiles name tree. pdfvt1 also emits and checks a parsed
DPart graph (DPartRoot, DPartRootNode, NodeNameList [/Job /Record /Document], leaf page range,
and page /DPart references), including a supplemental multipage specimen
for /Start and /End, reported as granular booleans plus
pdfvt_dpart_graph_valid; use a dedicated PDF/VT preflight tool
for third-party PDF/VT certification, or wire one into the same harness with
--pdfvt-cmd "tool --input {pdf}" --pdfvt-version-cmd "tool --version" --require-dedicated-pdfvt.
Distributed Python wheels enable the svg_raster engine feature, so
--svg-raster-fallback can rasterize unsupported SVG constructs such as SVG
text, filters, masks, and foreignObject into deterministic image content.
Custom source builds must include --features python,svg_raster to advertise
and use that fallback path.
Machine discovery:
fullbleed capabilities --json
Inspect the svg object in fullbleed.capabilities.v1 for SVG support metadata. The engine
object also reports compiled-document/reflow availability and supported per-call compression modes.
It reports the compiled svg_raster build feature plus a feature matrix for
native-vector SVG, raster-fallback-required SVG, and unsupported/known-loss SVG
features.
Image Support Matrix
Launch-safe image claims:
Supported direct raster inputs: PNG and JPEG.
SVG is handled by the SVG pipeline described above, with native-vector output
where supported and raster fallback for fallback-only features when
svg_raster is enabled.
Supported references include filesystem paths, registered bundle assets,
file/data URIs, <img>, CSS background-image: url(...), list-style images,
and watermark images.
Unsupported or not launch-claimed as direct inputs: WebP, GIF, TIFF, AVIF,
BMP, animated images, <picture>, srcset, sizes, density descriptors,
and browser-style responsive image selection.
For deterministic builds, prefer vendored local assets or registered
AssetBundle inputs; remote assets must be explicitly allowed.
Per-Page Templates (page_1, page_2, page_n)
Fullbleed uses ordered page templates internally. In docs, this is easiest to think of as:
page_1: first page template
page_2: second page template
page_n: repeating template for later pages
Configuration mapping:
CLI --page-margins keys: 1, 2, ... and optional "n" (or "each" alias).
Python PdfEngine(page_margins=...): same key model.
Missing numeric pages fall back to the base margin.
The last configured template repeats for remaining pages.
Set font-family: Inter in invoice.css. The command uses the font bytes in
the installed package, without a network request or a system-font lookup.
assets install inter copies that same font and its full OFL license into the
chosen vendor directory or cache. Discover the supported render_refs and
install_refs through assets list --json.
Install broad Unicode fallback package (larger font payload):
Builtin packages accept both plain and @ references (bootstrap == @bootstrap, bootstrap-icons == @bootstrap-icons, noto-sans == @noto-sans, inter == @inter). Explicit versions must match an included version; unavailable versions are rejected.
noto-sans is available as a builtin fallback package, but it is intentionally larger than inter; use it when your document requires broader glyph coverage.
Project installs default to ./vendor/ when project markers are present (assets.lock.json, report.py, or fullbleed.toml in CWD).
If no project markers are found, assets install defaults to global cache unless --vendor is explicitly set.
Do not hardcode cache paths like %LOCALAPPDATA%/fullbleed/cache/...; use assets install --json and consume installed_to.
Installed assets include license files in typed vendor directories (for example vendor/fonts/, vendor/css/).
assets lock --add is currently aimed at builtin package additions.
Barcode packages in the remote registry are currently OFL-1.1 families from Google Fonts (Libre Barcode).
USPS IMB fonts are not currently auto-installable via assets install; use local vetted font files and track licensing separately.
Bootstrap is vendored and installable through the asset pipeline.
Bootstrap CSS is consumed as an explicit local asset (--asset @bootstrap or AssetBundle); external HTML <link rel="stylesheet"> is not an execution path.
Bootstrap preflight examples remain useful smoke examples, but they are not the canonical source of CSS parity claims.
Validated CSS Coverage
For the full, maintained coverage statement, see docs/css-coverage.md.
The latest retained full-corpus result for the source carried into 2.5.28 is
1,620 PASS, 24 FAIL and 18 REFERENCE-DISPUTED across 1,662 cases.
The independent run
keeps its failed conclusion. The release runbook
records the reviewed inset-shadow changes and remaining comparison differences.
This is scoped source verification, not complete CSS parity or proof of a
published package. Earlier dated results below are historical, not the current gate.
Summary as of May 19, 2026:
Tracked CSS modules: 22
Module state: 22/22 in_progress
Full CSS fixture lane: 86/86 fixtures passing with 603 assertion/paint checks
Parity status check: green (tools/generate_css_parity_status.py --check --json)
The complete pinned independent Wheel265 gate closed on August 9, 2026 with 1,642 PASS,
0 FAIL, and 20 REFERENCE-DISPUTED across 1,662 fixtures. That is strict 100% parity for
every adjudicable fixture in this named corpus; disputed references remain visible and are not
relabeled as implementation passes. Broader web-platform coverage remains bounded by the module
and known-gap contract in docs/css-coverage.md.
Flow/reflow hardening validated on August 5, 2026 adds fixed-height block,
one-column grid, and column-flex continuation slicing; avoids content
duplication; retains empty styled captions inside avoided figures; preserves
display: contents grid paint phase; and keeps positioned containing blocks
atomic. The independent review's targeted 18-case regression cluster passes
18/18 (13 pixel-exact, maximum above-floor difference 0.97030199%). This
targeted diagnostic does not replace the full external-corpus report.
Current validated behavior includes first-class parser -> evaluator -> calculator -> layout/paint coverage across broad static-document CSS domains (values math, layout primitives, pagination/fragmentation baselines, transforms phase-1, gradient/effects subsets including color-first and interleaved-color filter: drop-shadow(...) with computed lengths, modern rgb() shadow colors with mm lengths, duplicate drop-shadow(...) color rejection, empty optional filter-function defaults, explicit/currentColor backdrop-filter: drop-shadow(...) raster paint, strict box-shadow length/color grammar with modern rgb() plus mm paint coverage, softened blurred inset edge paint, and directional inset offset edge paint, overflow-gated text-overflow: ellipsis, physical min/max box constraints, horizontal-tb RTL direction inline inset/margin/padding/border mapping, vertical writing-mode direction: rtl inline inset remapping, vertical-rl logical sizing/insets/margin/padding/border/min-max constraints, vertical-lr logical sizing/min-max/insets/margin/padding/border remapping, basic vertical text columns with vertical-rl leftward and vertical-lr rightward line progression, and deterministic diagnostics).
Known gap categories are explicitly tracked for the final parity push:
remaining filter/backdrop-filter function breadth beyond current subset, including SVG url() filters, advanced drop-shadow() forms beyond the current flexible-color-order foreground and baseline backdrop coverage, and PDF-native foreground filters
advanced clip-path grammar beyond the current basic-shape subset, including SVG clip sources, SVG-specific geometry boxes, and deeper edge grammar
plus-lighter PDF-native parity and deeper nested compositing/isolation breadth
deeper blurred inset shadow edge fidelity
remaining multi-layer background image edge semantics beyond the current sized gradient-layer repeat-x/space/round and PNG url(...) explicit-size/auto-auto-intrinsic/negative-size-invalid/contain/cover/auto-dimension-size/single-value-size/alpha-stack/default-repeat-repeat/repeat-y/repeat/repeat-no-repeat/no-repeat-repeat/space-space/round-round/round-space/space-round/round-repeat/round-no-repeat/no-repeat-round/no-repeat-space/space-no-repeat/repeat-space/repeat-round/space-repeat/logical-repeat-aliases/multi-layer-repeat-axis/background-list-repetition/percentage-position/edge-offset-position/logical-position-aliases/shorthand-position-size-repeat/content-box-origin-clip/multi-layer-origin-clip/background-blend-normal/background-blend-multiply/screen-mode/overlay-mode/exclusion-mode/hard-light-mode/darken-mode/lighten-mode/color-dodge-mode/color-burn-mode/soft-light-mode/hue-mode/saturation-mode/color-mode/luminosity-mode/plus-lighter-mode/list-repetition/truncation/raster-blend/raster-layer-mapping/mixed-raster-gradient-mapping/mixed-gradient-raster-mapping subset, including broader mixed raster stack combinations
table layout edge semantics hardening beyond the current fixed-layout width-hint, auto-width, caption-side placement, and invalid caption-side inheritance lanes
full vertical text/layout flow beyond the current vertical static-layout and basic wrapped text-column baseline
run Command (Python Factory Interop)
run lets the CLI use a Python-created engine instance.
For Rust-based visual/source frontends, the engine also provides
document-context chart compilation: normal CSS font
selection and size, project-font legend measurement/wrapping, semantic tables,
and observable layout failures. Generated SVG is derived output, not authoring
source.
The *_with_report methods return ordered record page ranges and missing-character checks
against the registered fonts selected for the final text. Reports preserve PDF bytes and
reuse the compiled layout. See compiled batch reports
for acceptance checks and coverage limits.
The compiled lane runs parsing/layout once. render_pdf_batch virtualizes identical untagged page
content. The fixed binding methods accept columnar dict[str, list[str]] data and emit distinct
fixed-geometry text overlays per record while sharing static paint. They require exact slot keys,
equal non-zero column lengths, page-local text, and an untagged profile. Base-14 text uses the
direct byte-patch lane; registered fonts are shaped into a command-level overlay. Bound values do
not trigger layout or reflow.
The reflow binding methods use the same exact-column contract but execute the compiled parsed-DOM
program. {{slot}} values are literal text and may reshape, wrap, resize blocks, and change page
counts. Empty elements can opt into trusted generated markup with
data-fb-bind-html="slot"; those values replace the element's children. One DOM is reused per
native worker and record output is linked in input order through a bounded queue. Structural slot
values are parsed as trusted markup: sanitize untrusted input or use scalar {{slot}} bindings,
which remain literal text. Choose CompiledFlowCompression.Throughput (default) or
CompiledFlowCompression.Compact per render; modes can be mixed safely in one process. See
docs/python-api.md for the trust boundary and current limitations.
When deterministic_hash is set, engine writes PDF SHA-256 to the provided file path.
For transactional running totals (paginated_context) and HTML header/footer placement (header_html_*, footer_html_*), use the Python PdfEngine API path.
The CLI currently exposes direct text header/footer flags (--header-each, --footer-each) for simpler cases.
render --json cannot be combined with --out - (stdout PDF bytes).
verify defaults to stdout PDF unless --emit-pdf is provided; for machine mode, use --emit-pdf <path>.
--emit-image <dir> writes per-page PNGs as <stem>_pageN.png (stem comes from --out/--emit-pdf, or render when streaming PDF to stdout).
In template auto-compose runs, --emit-image artifacts are rasterized from finalized composed pages and report outputs.image_mode=composed_pdf; otherwise image_mode=overlay_document.
outputs.deterministic_hash_mode is pdf_only by default and artifact_set_v1 when image artifacts are emitted.
If both --emit-page-data and --emit-glyph-report are set, current engines use a combined API and render once; older engines without that API fall back to a double render.
Production target is PDF 1.7.
run accepts --html-str without requiring --html.
init now scaffolds COMPLIANCE.md for project-level release review.
--watermark-layer underlay is accepted as a legacy alias and normalized to background.
--emit-manifest includes a watermark object with text|html|image|layer|semantics|opacity|rotation|enabled.
--fail-on overflow is enforced from placement data and may auto-enable internal JIT planning.
--fail-on font-subst is enforced using missing glyph and fallback diagnostics.
--allow-fallbacks allows fallback diagnostics to remain informational for missing-glyphs / font-subst gates while still reporting them in JSON output.
--fail-on budget requires at least one budget threshold flag.
--repro-check fails on input/hash drift and lock hash mismatches when lock data is available.
PDF/A and PDF/X/VT profiles require output intent metadata; pdfa4, pdfa4e, and pdfa4f emit PDF 2.0 automatically. PDF/A, PDF/X/VT, PDF/UA, and WTPDF text output enforces embedded-font constraints, and CLI errors include an actionable hint to add an embeddable font asset.
--pdf-profile pdfua1 enables tagged output and PDF/UA-1 identification metadata. Treat verifier/seed traces as machine evidence before making external conformance claims.
argparse usage errors exit with code 2 and emit usage text (not JSON), even when --json is present.
Related Docs
Agent workflow guide: llm.txt
CLI JSON contract quick reference: cli_schema.md
CLI epoch/spec: CLI_EPOCH.md
PDF template/XObject composition guide: docs/pdf-templates.md
Licensing guide: LICENSING.md
Third-party notices: THIRD_PARTY_LICENSES.md
Living docs example project: examples/living_docs_atlas/README.md
Fullbleed is licensed under the MIT License (MIT). Commercial use,
modification, distribution, and use in proprietary software are permitted
subject to the notice-preservation requirement in LICENSE.
Cargo and PyPI metadata both declare MIT.
Copyright notice: COPYRIGHT
Third-party notices: THIRD_PARTY_LICENSES.md
Practical licensing guide: LICENSING.md
For license information, please visit fullbleed.dev or email info@fullbleed.dev.
License integrity gate (CI-friendly, no build required):
python tools/check_license_integrity.py --json
Alternatives
Use instead of fullbleed: tools that do the same job, closest first.