# fschutt/printpdf

Rust / WASM library for reading, writing and rendering PDF

Repository: https://github.com/fschutt/printpdf
Canonical: https://ross.abutalabs.com/products/printpdf
Homepage: https://fschutt.github.io/printpdf/
Language: Rust
License: MIT
License Family: permissive
Topics: pdf-generation, pdf, rust, rust-library, wasm, html2pdf, pdf-reader, pdf-renderer
Last push: 2026-08-29T10:47:22+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 100, release rhythm 8, longevity 100
- inputs: {"age_days": 3403, "days_push": 4, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1111, forks 138 (observed 2026-09-01T02:14:01.667349+00:00)

## What it is
printpdf is a Rust library (also usable via WASM) for creating, reading, writing, and rendering PDF documents. It supports pages, layers, graphics, embedded fonts, SVG embedding, and experimental HTML/XHTML layouting and text extraction.

## Use cases
- generate pdf invoices from rust
- convert html to pdf in a webassembly app
- embed fonts and unicode text in a pdf
- extract text from pdf pages
- render pdf pages to svg or images
- create reports with automatic page breaks

## When to choose
- you need a pure-Rust, no-native-dependency PDF toolkit
- you target WASM/browser environments for PDF generation
- you need fine-grained manual control over PDF drawing ops

## When to avoid
- you need gradients, patterns, or PDF standards conformance checking
- you need pixel-exact HTML-to-PDF rendering
- you need embedded JavaScript or file attachments in PDFs

## Facets
- artifact type: library
- maturity: active
- function: pdf, image-processing, parser, graphics
- domain: pdf, files, web-development
- platform: rust, wasm, cross-platform
- tags: pdf-generation, pdf-reading, pdf-rendering, html-to-pdf, font-embedding, svg-embedding, text-extraction

## Member repositories
- fschutt/printpdf (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:01.667349+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:43:27.009212+00:00, confidence not recorded.
  - readme: https://github.com/fschutt/printpdf (fetched 2026-09-01T02:14:01.667349+00:00, sha bbc621fa4688)
  - homepage: https://fschutt.github.io/printpdf/ (fetched 2026-08-29T12:46:52.803973+00:00, sha 9e61e5be9d52)
  - registry_crates: https://crates.io/api/v1/crates/printpdf (fetched 2026-08-29T12:46:52.806746+00:00, sha 7e7fbb134cb9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
