Upstream changes:
2.021 2014-02-20
- Fixed numerous bugs in the string parsing code, including the
one reported in [RT #63918] by Frank Doepper.
- [RT #41049] Rewrote literal string parsing to prevent a stack
overflow due to an inefficient regex (reported by Sergei
Fetisov).
- [RT #91822] Fix compression of GIF images to ensure that output
codes don't exceed 12 bits (reported by Vadim Repin).
- The RunLengthDecode filter didn't actually work. Its code has
been rewritten and now passes basic encoding and decoding tests.
- Fix Code128 barcode switching from Code C to Code B in certain
cases (reported by Doru Petrescu).
Upstream changes:
2.020 2013-01-20
- Give a more informative error message when a PDF file using a
cross-reference stream is encountered. The Known Issues section
of the documentation includes pointers on how to add support in
case someone else can get to this before I do.
- Text using TrueType fonts is now searchable again. In version
0.61, an undocumented -unicodemap option was added to nearly all
of the font resource methods, which only included a ToUnicode
CMap if it was set (and it's required in order for PDF readers
to be able to identify individual characters if BaseEncoding
isn't present, which it isn't for TrueType fonts).
I've left the -unicodemap option in place, and it's still
undocumented (except here), but it's now on by default. Call
$pdf->ttfont($fontfile, -unicodemap => 0) if you want to disable
it for performance or file size reasons.
- Add a note to the stringify method's documentation saying that
it's a destructive operation.
- The various filter types have their own classes in the
PDF::API2::Basic::PDF::Filter namespace now, rather than having
all of the packages in Filter.pm.
- To facilitate testing and ensure that identically-generated PDFs
have identical output in Perl 5.17.5 or later, PDF dictionary
keys are now sorted during output.
* Fix a typo in the require statement for code128 barcodes.
* Numerous modules are now only loaded when they're needed, which should help
speed up the load time and reduce the memory footprint.
* Test coverage is up to about 45% of the codebase.
Changes 2.018:
* The tests in 2.017 exposed a floating point issue where some computers give
more trailing zeros than others. It doesn't affect the output, but it does
break the tests on those computers, since the PDFs are slightly different.
This version modifies the float() method to remove trailing zeros, which
should fix the test breakage and give consistent PDFs.
Changes 2.017:
* The DejaVu fonts have been removed from the distribution, since they were
only used by one example script. If you need them for your project, you can
download them from http://dejavu-fonts.org
* Fix: Content->bogen() didn't behave as documented if $move was set (it
started drawing from the center of the circle rather than [x1, y1]).
* The undocumented nettfont method has been removed, along with the supporting
PDF::API2::Resource::Font::neTrueType module.
* The undocumented save_xml method has been removed, along with the supporting
functions in PDF::API2::Basic::*.
* The undocumented textstate2 method has been removed from PDF::API2::Content.
* Fix create_egs call in Lite.pm
* Fix string interpolation in pdf-merge.pl
* Fix an error in the synopsis
* Fix rename of .cmap files so that they actually work now.
* The test suite has grown to nearly 200 tests, covering about 40% of the
codebase. There's still plenty of room for improvement.
Pkgsrc changes:
o Tweak MASTER_SITES so that the distfile is found
Upstream changes:
No change log available. From looking at the diff and the RT database:
o Improve forward compatibility with perl 5.10.0 maintenance releases
(RT #39875?)
o fixed [rt.cpan.org #40648] Unicode text prints text on top of text before it
The upstream package does not have a change log, and there
is already an open RT ticket for this problem as well.
A diff doesn't reveal anything which appears to be earth-shattering.
Pkgsrc changes:
- List version independent HOMEPAGE.
- The package supports installation to DESTDIR.
- The module needs at least Compress::Zlib 1.0.
Changes since version 0.65:
===========================
not provided.