#pdf #layout #text-layout #text

genpdfi

User-friendly PDF generator written in pure Rust

1 unstable release

0.2.1 Nov 11, 2024

#1906 in Text processing

Download history 147/week @ 2024-11-11 37/week @ 2024-11-18 29/week @ 2024-11-25 23/week @ 2024-12-02 21/week @ 2024-12-09

122 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
~289K SLoC