#pdf #document #json #text

pdf-doc

Create a writing document and save to PDF with Rust

3 releases

0.1.2 Jul 25, 2024
0.1.1 Jul 25, 2024
0.1.0 Jul 25, 2024

#254 in Text editors

MIT license

34KB
711 lines

pdf-doc

Create a writing document and save to PDF with Rust.

A minimal library.

Model a writing document with formatting options.

Slightly modeled after Google Docs or Microsoft Word.

Save to PDF or JSON.

Reads JSON documents only.

Prerequisites

Install clang++ for the skia-safe crate dependency.

On Linux

sudo apt update
sudo apt install -y clang
clang++ --version

Dependencies

~38–51MB
~678K SLoC