Commit graph

18 commits

Author SHA1 Message Date
wiz
1770bcacd4 Comment out dead sites. 2017-09-04 18:00:49 +00:00
taca
021b39424c 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
2017-03-20 14:52:20 +00:00
taca
06d4f4b730 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.
2016-03-15 15:05:36 +00:00
taca
b40e982dc4 Remove RUBY_VERSION_SUPPORTED which has the samve value as default. 2015-12-30 04:22:59 +00:00
agc
03010d7bd0 Add SHA512 digests for distfiles for print category
Problems found locating distfiles:
	Package acroread7: missing distfile AdobeReader_enu-7.0.9-1.i386.tar.gz
	Package acroread8: missing distfile AdobeReader_enu-8.1.7-1.sparc.tar.gz
	Package cups-filters: missing distfile cups-filters-1.1.0.tar.xz
	Package dvidvi: missing distfile dvidvi-1.0.tar.gz
	Package lgrind: missing distfile lgrind.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:01:30 +00:00
taca
0b7dbe9f0d Forgot to comit distinfo. (Why?)
Noted by joerg@, thanks much!
2015-09-15 15:18:33 +00:00
taca
fd5cb882a8 Update ruby-prawn to 2.0.2.
PrawnPDF 2.0.2 -- 2015-07-15

Links in repeaters/stamps are now clickable

Previously, url links were not clickable when rendered within a stamp. The proper annotation references are now added to the page object that the stamp is called, thereby generating a clickable link in the pdf.

Because repeaters are built upon stamps, this fix should also solve issues with links inside of repeaters.

(Jesse Doyle, #801, #498)
2015-09-13 15:11:06 +00:00
taca
521e83144d Update ruby-prawn to 2.0.1.
* pkgsrc change: Allow this pacakge build on Ruby 2.2.

PrawnPDF 2.0.1 -- 2015-03-23

Fix regression in draw_text() with rotation

Due to missing tests, a typo snuck into the draw_text() method in PDF::Core,
preventing it from working properly when called with the :rotate option.

This issue has been resolved, and a test has been added to Prawn's test
suite. Speaking more generally, we need to improve the condition of the
tests for PDF::Core, and make a clear separation between Prawn's test suite
and PDF::Core's tests. Currently there are lots of little gaps that can lead
to this sort of problem.

[Robert S. Gerus, pdf-core#15]
2015-06-08 16:05:45 +00:00
joerg
5d22b420c2 Needs Ruby 2.x. 2015-03-22 20:08:04 +00:00
taca
7cbe8a6e58 Update ruby-prawrn to 2.0.0.
1. Changes to supported Ruby versions
2. Changes to PrawnPDF's versioning policies
3. All decimals in PDF output are now rounded to a fixed precision of
   4 decimal places
4. Fixed text width calculation to prevent unnecessary soft hyphen
5. Fixed styled text width calculations when using TTF files
6. Fixed broken vertical alignment for center and bottom
7. Calling dash(0) now raises an error instead of generating a corrupt PDF
8. Vastly improved handling of encodings for PDF built in (AFM) fonts
9. Temporarily restored the Document#on_page_create method

Please refer http://prawnpdf.org/api-docs/2.0/file.CHANGELOG.html in datail.
2015-03-13 15:27:09 +00:00
taca
02a0af9fc2 Update ruby-prawn package to 1.3.0.
Changes are not available, please refer commit log on
<https://github.com/prawnpdf/prawn>.
2015-02-04 14:26:47 +00:00
taca
37596f961e Allow build with ruby21. 2014-03-26 13:27:50 +00:00
taca
d561d3ef22 Update ruby-prawn to 0.15.0
Full CHANGELOG is https://github.com/prawnpdf/prawn/wiki/CHANGELOG and
here is summary.

Prawn 0.15.0 ¡½ 2014.02.16

Summarized notes follow, but you can also check out the complete diff from
0.14.0 to 0.15.0.

This release is a stepping stone to next month's 1.0 release, and it involves
more internal restructuring and policy updates than it does new fixes or
features. However, there are a few minor fixes and improvements that shipped
with this code, and we may do one or two more maintenance releases of 0.15.x
before 1.0 ships in mid-March.

It should be safe to upgrade to 0.15 if you've been using 0.13 or 0.14. If
you're still using 0.12 or earlier, you should either invest the time to
upgrade those projects now, or treat them as legacy code
indefinitely. Extension authors are encouraged to try out 0.15, because it is
our last major release before 1.0, and is a good snapshot of where we
currently are with things.

* We've laid out a plan for post-1.0 API compatibility

* Prawn now officially now support Ruby 2.1.0

* A couple new gems have been extracted

* Grids can now be safely redefined

* Document#render no longer raises encoding errors on JRuby+Windows

* Table column width calculations now tolerate minor floating point rounding
  errors

* TTFunk has been upgraded to 1.1.0, which provides Unicode astral plane
  support in TTF files.

* Prawn once again has no third-party runtime dependencies!
2014-03-14 17:51:20 +00:00
taca
891809084b Enable ruby200. 2013-07-21 02:50:43 +00:00
dholland
31a5135b76 Disable this package on ruby18; it does not build and hasn't for ages,
and at this point it's not worth pretending we'll ever fix it.
2012-12-21 06:23:19 +00:00
taca
c2dc30ee5b Update PLIST which I forgot.
No PKGREVISION bump since the package was completely broken.
2011-09-12 11:23:13 +00:00
taca
8666284d14 Update ruby-prawn package to 0.12.0.
Prawn 0.12.0:

We continue our trek to Prawn 1.0 with 0.12.0. This release fixes many bugs
and adds some new features. A full list of changes is available via `git log
0.11.1..0.12.0`.

Features / Enhancements

* Rewrite project README [Gregory Brown]
* Speed improvements to text kerning [Jan De Poorter]
* Snapshotting now preserves your bounding box [Brad Ediger]
* Allow Document#float to teleport across pages and return to starting page
  [Brad Ediger]
* number_pages now defaults to numbering every page [Matthew Rudy Jacobs]
* Your bounding box is now reset when starting a new page with a different
  size or layout [Brad Ediger]

Major Bugfixes

* Fix multi-page templates (#199) [Chase M. Gray / Jonathan Greenberg]
* Make tables work in stretchy bounding boxes (#235) [Jan De Poorter / Brad
  Ediger]
* Fix TTF font metrics when a TTF font has a nonzero width for newlines (#245)
  [daduke / Katsuya Hidaka / Brad Ediger]
* Fix kerning bug on line width calculations (#251) [vspan / Brad Ediger]
* Fix images in stretchy bounding boxes creating a new page (#241) [Brad Ediger]
* Fix character_spacing to work based on character count, not byte length
  (#253) [Katsuya Hidaka / Brad Ediger]
* Fix NoMethodError under $KCODE==¡Èu¡É [Michael Klein]
* Fix extra page break created when spans were used at the top of a page
  (#255) [Sean Russell / Brad Ediger]
* Fix problem with table cell backgrounds overlapping other cell¡Çs borders by
  drawing all backgrounds before any borders (#226) [Kenta Murata / Brad
  Ediger]
* Remove old examples that were duplicated by our new manual (Micha«³l Witrant)
  Tables: use an epsilon to compare floating-point values [Kenta Murata]
2011-08-17 13:36:07 +00:00
taca
b68cbcb3b2 Importing ruby-prawn package version 0.11.1.
= 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.
2011-06-19 14:49:40 +00:00