Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaj/rust-pdf
Generating PDF files in pure Rust
https://github.com/kaj/rust-pdf
Last synced: 7 days ago
JSON representation
Generating PDF files in pure Rust
- Host: GitHub
- URL: https://github.com/kaj/rust-pdf
- Owner: kaj
- Fork: true (SimonSapin/rust-pdf)
- Created: 2015-09-24T16:40:59.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-07T20:16:19.000Z (over 2 years ago)
- Last Synced: 2024-10-06T16:06:06.800Z (28 days ago)
- Language: Rust
- Size: 255 KB
- Stars: 144
- Watchers: 8
- Forks: 13
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-rust-cn - kaj/rust-pdf - ci.org/kaj/rust-pdf.svg?branch=master">](https://travis-ci.org/kaj/rust-pdf) (Libraries / Graphics)
- awesome-rust - kaj/rust-pdf - ci.org/kaj/rust-pdf.svg?branch=master">](https://travis-ci.org/kaj/rust-pdf) (Libraries / Graphics)
- awesome-rust - kaj/rust-pdf
- awesome-rust-cn - kaj/rust-pdf
- awesome-rust-zh - kaj/rust-pdf - [<img src="https://api.travis-ci.org/kaj/rust-pdf.svg?branch=master">](https://travis-ci.org/kaj/rust-pdf) (库 / 图像)
README
# 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](https://travis-ci.org/kaj/rust-pdf.svg?branch=master)](https://travis-ci.org/kaj/rust-pdf)
[![Crate](https://meritbadge.herokuapp.com/pdf-canvas)](https://crates.io/crates/pdf-canvas)
[![Build status](https://ci.appveyor.com/api/projects/status/vwtbgqkdf0rki6rd/branch/master?svg=true)](https://ci.appveyor.com/project/kaj/rust-pdf/branch/master)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](examples) directory.
Read the
[API documentation for the pdf-canvas crate](https://docs.rs/pdf-canvas).
A larger example of a program using this crate is
[chord3, a chopro formatter](https://github.com/kaj/chord3).