{"repo":"fschutt/printpdf","free":true,"listed":false,"github":"https://github.com/fschutt/printpdf","clone":"git clone https://github.com/fschutt/printpdf.git","description":"Rust / WASM library for reading, writing and rendering PDF","language":"Rust","stars":1099,"topics":["pdf-generation","pdf","rust","rust-library","wasm","html2pdf","pdf-reader","pdf-renderer"],"license":"MIT","category":"media-processing","readme_excerpt":"# printpdf printpdf is a Rust library for creating, reading, writing and rendering PDF documents. Website Crates.io Documentation Donate [!NOTE] HTML-to-PDF rendering ( PdfDocument::from html , html feature) works for basic layouts - tables, page breaks, headers/footers - but is still evolving. For pixel-exact control, position PDF elements manually with ops. Features - Pages, Bookmarks, link annotations (read / write) - Layers (read / write) - Graphics: lines, shapes, bezier curves, SVG content (read / write) - Images encoding / decoding (read support: experimental / write supported with image ) - Embedded fonts, Unicode support (read support: experimental / write) - Minifying file size (auto-subsetting fonts) - Advanced graphics - overprint, blending, etc. - Advanced typography - character / word scaling and spacing, superscript, subscript, etc. - Embedding SVGs (uses svg2pdf crate internally) Experimental features: - Rendering PDF pages to SVG (one standalone SVG file per page) - You can use the resulting SVG to render the PDF page into an image using resvg - Extracting text from PDF pages (auto-decodes Unicode, line breaks and text positions) - XHTML layouting for simple page layout (using azul-layout + xmlparser ) - Good enough for basic page layouting, book rendering, reports and forms, with automatic page-breaking NOT supported are: - Gradients - Patterns - File attachements - Open Prepress Interface - Halftoning images - Conformance / error checking for various PDF st","default_branch":null,"files":null,"tree":[],"storefront":"/r/fschutt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fschutt/printpdf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}