Prawn is a pure Ruby PDF generation library that provides a lot of great functionality while trying to remain simple and reasonably performant. Extensive text rendering support, including flowing text and limited inline formatting options. Comprehensive internationalization features, including full support for UTF-8 based fonts, right-to-left text rendering, fallback font support, and extension points for customizable text wrapping. Support for PDF outlines for document navigation. Low level PDF features, allowing users to create custom extensions by dropping down all the way to the PDF object tree layer. (Mostly useful to those with knowledge of the PDF specification). If you are looking for a highly flexible PDF document generation system, Prawn might be the tool for you. It is not a reporting tool or a publishing toolchain, though it could be fairly easily used to build those things.

Features

  • Vector drawing support, including lines, polygons, curves, ellipses, etc.
  • Support for both PDF builtin fonts as well as embedded TrueType fonts
  • Support for both PDF builtin fonts as well as embedded TrueType fonts
  • PNG and JPG image embedding, with flexible scaling options
  • Security features including encryption and password protection
  • Tools for rendering repeatable content (i.e headers, footers, and page numbers)

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow Prawn

Prawn Web Site

You Might Also Like
High-performance Open Source API Gateway Icon
High-performance Open Source API Gateway

KrakenD is a stateless, distributed, high-performance API Gateway that helps you effortlessly adopt microservices

KrakenD is a high-performance API Gateway optimized for resource efficiency, capable of managing 70,000 requests per second on a single instance. The stateless architecture allows for straightforward, linear scalability, eliminating the need for complex coordination or database maintenance.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Prawn!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby PDF Software, Ruby PDF Generation Libraries

Registered

2021-12-30