#pdf #layout #text-layout #text

genpdfi

User-friendly PDF generator written in pure Rust

1 unstable release

0.2.1 Nov 11, 2024

#1852 in Text processing

Download history 147/week @ 2024-11-11 37/week @ 2024-11-18

184 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

~23MB
~265K SLoC