./print/ruby-prawn, Fast and nimble PDF generator for Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.5.0, Package name: ruby32-prawn-2.5.0, Maintainer: pkgsrc-users

= Prawn: Fast, Nimble PDF Generation For Ruby

Prawn is a PDF writing library for Ruby designed to be tiny, fast, and nimble,
just like the majestic sea creature.

Development on this library was initially made possible thanks to
the many people who donated to the Ruby Mendicant project:
http://rubymendicant.wikidot.com

The project is currently maintained by Gregory Brown, with lots of help from
Prawn's core developers and the community.


Required to run:
[fonts/ruby-ttfunk] [lang/ruby23-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 225 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-05 14:31:14 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
print/ruby-prawn: update to 2.5.0

2.5.0 (2024-03-05)

* Full font embedding

  Fonts can be embedded in their original form without subsetting or any
  other modification.

  (Alexander Mankuta, #1322)

* Fixed keyword arguments in Prawn::View

  (Kim Burgestrand, 1284)

* Look for glyph in correct font

  Take the font style into account when looking for a glyph and fallback
  fonts are enabled.

  (Dan Allen, #1147)

* Fixed font caching

  It's a subtle bug that could result in use of incorrect fonts.

  (maerch, #924, Alexander Mankuta)

* Fixed line spacing in text boxes with indentation

  (Jakub Stasiak, #1079)
   2021-10-26 13:15:15 by Nia Alarie | Files touched by this commit (1670)
Log message:
print: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:52:04 by Nia Alarie | Files touched by this commit (1670)
Log message:
print: Remove SHA1 hashes for distfiles
   2021-01-13 15:59:46 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
print/ruby-prawn: update to 2.4.0

pkgsrc change: add "USE_LANGUAGES=	# none".

2.4.0 (2020-12-29)

* Added support for Ruby 3 (Alexander Mankuta)
* Fixed transformation matrix serialization (Alexander Mankuta, #1182)
   2020-09-14 16:00:32 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
print/ruby-prawn: update to 2.3.0

Update ruby-prawn to 2.3.0.

2.3.0 (2020-08-01)

This is release includes one new exiting feature: OTF fonts support.  You
can use them exactly as you'd use TTF fonts.  Thanks for this to @camertron.

Another notable change is the list of supported Rubies.  Since last release
a few new versions came out and a few reached their EOL.

Other than that a number of bugs have been fixed.  See Changelog for the
details.
   2017-09-04 20:01:05 by Thomas Klausner | Files touched by this commit (192)
Log message:
Comment out dead sites.
   2017-03-20 15:52:20 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Update ruby-prawn to 2.2.2.

2.2.0

Notable changes:

* Added support for TTC fonts
* Added Join style validation
* Fixed handling of NBSP in Windows-1252 text
* Fixed wrong leading of one-line paragraphs
* Fixed dashing
* Added Code of Conduct
* Improved generated document consistency
* Improved gradients
* Supported Rubies have
* Added unexpected manual changes signaling
* Added colors validation
* Fixed CannotFit for zero-width spaces
   2016-03-15 16:05:36 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Update ruby-prawn to 2.1.0.

PrawnPDF 2.1.0 – 2016-02-29

Added support for PNG images with indexed transparency

  Prawn now properly hadles transparency in PNG images with indexed color.

  (Maciej Mucha, #783; Alexander Mankuta, #920)

Prawn no longer generates IRB warnings

  Fix a few issues with code style that were triggering warnings in
  IRB when run in verbose mode (irb -w).

  (Jesse Doyle, #914)

Gradients applied inside transformations are now correctly positioned

  PDF gradients/patterns take coordinates in the coordinate space of
  the document, not the “user space”, so if you performed a
  scale/rotate/translate and then painted a gradient inside, it wasn't
  correctly positioned.

  This change tracks transformations applied to the document, and
  multiplies the gradient matrix with this tracked transformation
  matrix so that the gradient appears in the correct place in the
  document.

  Because this changes how the x and y coordinates are interpreted,
  you must manually add apply_transformations: true to your
  stroke_gradient and fill_gradient calls to use the fixed behaviour
  in Prawn 2. It is expected that this will be the default in Prawn 3.

  Please refer to the wiki page on this change for more information.

  (Roger Nesbitt, #891, #894)

Prawn::Graphics::BlendMode#blend_mode added

  Blend modes can be used to change the way two layers are blended
  together. The BM key is added to the External Graphics State based
  on the v1.4 PDF spec. blend_mode accepts a single blend mode or
  array of blend modes. If an array is passed, the PDF viewer blends
  layers based on the first valid blend mode.