Crates.io | pdf-canvas |
lib.rs | pdf-canvas |
version | 0.7.0 |
source | src |
created_at | 2017-02-14 22:29:10.039322 |
updated_at | 2022-02-07 20:16:05.439151 |
description | Generate PDF files in pure Rust. Currently, simple vector graphics and text set in the 14 built-in fonts are supported. |
homepage | |
repository | https://github.com/kaj/rust-pdf |
max_upload_size | |
id | 8519 |
size | 737,802 |
A pure rust library for generating PDF files. Currently, simple vector graphics and text set in the 14 built-in fonts are supported.
To use this library, add it as a dependency in your Cargo.toml
:
[dependencies]
pdf-canvas = "*"
The API is still very alpha, usage may change. Some examples, that should work with the version containing them, can be found in the examples directory. Read the API documentation for the pdf-canvas crate. A larger example of a program using this crate is chord3, a chopro formatter.