A high-level, ergonomic Rust library for creating PDF documents.
Browse cluster: Font design, tooling, and parsing →Krilla is a high-level Rust library for creating PDF documents, built on top of the pdf-writer crate. It provides ergonomic abstractions for 2D graphics operations including paths, text rendering with OpenType font support, gradients, images, transformations, and blend modes, while also supporting PDF-specific features like document outlines, annotations, accessibility tags, and various export modes such as PDF/A and PDF/UA. The project includes krilla-svg, a companion crate that enables rendering SVG files to PDF by building on the usvg library. Krilla is authored by an individual developer (LaurenzV) and is dual-licensed under MIT and Apache 2.0.