talira

Compare

pdf-writerlopdfkrillaironpress
What it isA step-by-step PDF writer.A Rust library for PDF document manipulation.A high-level, ergonomic Rust library for creating PDF documents.HTML to PDF. In process. In pure Rust.
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.270.230.230.59
Stars———600
Last commit———2026-11-02
LicenceMIT OR Apache-2.0MITMIT OR Apache-2.0MIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it————
SOC 2————
HIPAA————
SSO————
API———No
Plugins———No
MCP server———No
CompanyTypst———
Features
  • strongly typed writers for pages, fonts, images, annotations, actions and more
  • content stream builder for PDF drawing and text operators
  • interactive form fields (AcroForm), including signature fields and seed values
  • tagged PDF: structure tree, role maps, marked content and attributes
  • Type 0, CID, Type 1 and Type 3 fonts, CMaps, widths and font descriptors
  • colour spaces: ICC profiles, Separation, DeviceN, shading and tiling patterns, output intents
  • embedded files, outlines, page labels, name and number trees, transitions and renditions
  • chunks that can be written separately and renumbered
  • All 10 features
  • load, edit and save PDF documents as an object model
  • create PDFs from scratch with a dictionary! macro and content operations
  • object streams and cross-reference streams (PDF 1.5+), reading and writing
  • decryption (automatic for empty passwords) and encryption
  • text extraction from pages
  • delete pages, prune and renumber objects, compress and decompress streams
  • bookmarks, outlines, destinations and table of contents
  • incremental updates through IncrementalDocument
  • All 10 features
  • fills, strokes, affine transforms, alpha and luminosity masks, clip paths and blend modes
  • high-level text API (shaping with HarfRust) and a low-level positioned-glyph API
  • OpenType fonts of all major flavours, including colour fonts
  • font subsetting for CFF and TrueType fonts
  • linear, radial and sweep gradients and patterns
  • bitmap images (PNG, JPEG, GIF, WebP) and SVG via krilla-svg
  • outlines, page labels, annotations, links and named destinations, metadata
  • tagged PDF for accessibility
  • All 12 features
  • HTML, CSS and Markdown input
  • flexbox, grid, tables, multi-column, @page
  • text headers/footers with page numbers and HTML header/footer fragments
  • font shaping with rustybuzz and subsetting
  • optional CJK and emoji font packs
  • SVG and LaTeX math
  • HTML/SVG sanitization and constrained file access
  • opt-in remote resource fetching
  • All 11 features
Limitations
  • Doesn't validate the PDF you write: it doesn't allocate object IDs or check that every required field is present, so you follow the PDF spec yourself
  • Doesn't stream large PDFs: it keeps the whole document in memory as objects until it saves the file
  • May not decrypt every encrypted PDF: some encryption algorithms aren't fully supported, and only empty passwords open automatically
  • Doesn't lay out text, build tables, break pages or add headers and footers: it draws content you have already laid out
  • Doesn't encrypt PDFs or add digital signatures: out of scope for now, like many other PDF features