← All repos

krilla

A high-level, ergonomic Rust library for creating PDF documents.

Browse cluster: Font design, tooling, and parsing
761commits
17contributors
2languages

Tech stack & purpose

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.

Languages

Rust
97.2%
Python
2.8%

Contributors