- Update our CI matrix to include recent versions of Prawn and Ruby! Thanks @petergoldstein! (#55)
- Resolve a few code smells that were flagged by Rubocop.
- Material Design Icons are now supported! Currently version
7.0.96
is included. Thanks @maneex! (#59) - Memoize calls to
Prawn::Icon::FontData#path
to improve performance.
Material Design Icons
All Material Design Icons use the font prefix of mdi
. That means that you're able to reference an icon as follows:
require 'prawn/icon'
Prawn::Document.generate('icons.pdf') do |pdf|
pdf.icon 'mdi-beer', size: 60
end