All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Native C bindings for the PlutoBook rendering engine
Plutoprint::Bookclass with HTML, XML, URL, and image loadingPlutoprint::PageSizeandPlutoprint::PageMarginswith preset symbolsPlutoprint::Canvas,ImageCanvas, andPDFCanvasfor advanced rendering- Convenience methods:
html_to_pdf,html_to_png,url_to_pdf,url_to_png Plutoprint.configureblock for project-wide configuration- Three-tier configuration: gem defaults, initializer, per-request overrides
Plutoprint.set_options(request, ...)for controller-level overridesPlutoprint::Rack::Middlewarefor transparent PDF/PNG generation from.pdf/.pngURLsPlutoprint::Rails::Railtiefor automatic middleware registration in RailsPlutoprint::HTMLPreprocessorfor absolutizing relative URLsPlutoprint::OptionsHelperwith margin parsing (unit strings to points)Plutoprint::ResourceFetcherandDefaultResourceFetcherfor custom resource loading- CLI tool (
plutoprint convert) via Thor - Unit parsing (
Plutoprint.parse_length) for pt, pc, in, cm, mm, px - PDF metadata support (title, author, subject, keywords, creator, dates)