printpdf is a Rust library for creating, reading, writing, and rendering PDF documents, providing developers with fine-grained control over document generation and layout. It supports a wide range of PDF features, including pages, layers, annotations, vector graphics, images, and embedded fonts, allowing the creation of complex and professional documents. The library emphasizes manual positioning of elements, giving developers precise control over layout and rendering rather than relying on high-level abstractions. It includes advanced typography capabilities such as character spacing, scaling, superscript, and subscript, as well as support for Unicode text. printpdf also offers optimization features like font subsetting to reduce file size, making generated PDFs more efficient. Experimental capabilities include rendering PDF pages to SVG and extracting text content, expanding its use cases beyond simple document generation.

Features

  • Creation and rendering of PDF documents in Rust
  • Support for vector graphics, images, and SVG embedding
  • Advanced typography and Unicode text handling
  • Manual layout control for precise positioning
  • Font subsetting for file size optimization
  • Experimental PDF-to-SVG rendering and text extraction

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow printpdf

printpdf Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of printpdf!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Software Development Software

Registered

4 days ago