A pure Rust library for generating PDF files with vector graphics and built-in fonts.
pdf-canvas is a pure Rust library for programmatically generating PDF files. It enables developers to create PDF documents with vector graphics and text using Rust's type safety and performance characteristics, without requiring external dependencies or system libraries.
Rust developers who need to generate PDF documents programmatically, particularly those working on document processing tools, report generators, or applications requiring PDF output.
Developers choose pdf-canvas for its pure Rust implementation with no external dependencies, simple API for basic PDF generation needs, and reliability for creating PDFs with vector graphics and standard fonts.
Generating PDF files in pure Rust
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Pure Rust implementation eliminates the need for system libraries or external tools, simplifying deployment and cross-compilation, as highlighted in the Key Features.
Provides drawing primitives for lines, shapes, and paths, enabling easy creation of basic vector graphics in PDFs, as stated in the Key Features.
Includes text rendering with the 14 standard PDF fonts without requiring external font files, making it straightforward for basic text output.
Designed for simplicity and reliability over feature completeness, ideal for lightweight PDF generation tasks without bloat, per the Philosophy section.
Restricted to 14 standard fonts with no custom font embedding, severely limiting typographic options for branding or multilingual projects.
The API is explicitly marked as alpha in the README, meaning it is unstable and subject to breaking changes, posing risks for ongoing development.
Lacks support for common PDF features like image embedding, form creation, or advanced layout, confining it to simple document generation.