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

Other Useful Business Software
Grafana: The open and composable observability platform Icon
Grafana: The open and composable observability platform

Faster answers, predictable costs, and no lock-in built by the team helping to make observability accessible to anyone.

Grafana is the open source analytics & monitoring solution for every database.
Learn More
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