Home

Awesome

pdf-canvas

A pure rust library for generating PDF files. Currently, simple vector graphics and text set in the 14 built-in fonts are supported.

Build Status Crate Build status

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.