#pdf #layout #text-layout #text

genpdfi

User-friendly PDF generator written in pure Rust

1 unstable release

new 0.2.1 Nov 11, 2024

#1784 in Text processing

Download history 106/week @ 2024-11-07

106 downloads per month
Used in markdown2pdf

Apache-2.0 OR MIT

180KB
3.5K SLoC

genpdfi (improved)

A fork of https://docs.rs/genpdf/latest/genpdf/ but improved. Mainly used in markdown2pdf library.


lib.rs:

User-friendly PDF generator written in pure Rust.

genpdfi is a high-level PDF generator built ontop of printpdf and rusttype. It takes care of the page layout and text alignment and renders a document tree into a PDF document. All of its dependencies are written in Rust, so you don’t need any pre-installed libraries or tools.

Dependencies

~24MB
~287K SLoC