- updated to 2.039
see /usr/share/doc/packages/perl-PDF-API2/Changes
2.039 2021-03-04
- PDF::API2->open($filename) no longer reads the entire file into memory
before working on it, instead reading from the file as needed. This
results in a substantial reduction in memory usage and start-up time for
large PDF files, particularly in cases where the calling script doesn't
need to access all of the contents of the PDF.
- PDF files containing cross-reference streams can now be modified and saved
normally. Previously, they were read-only.
- $text->paragraph(...) and $text->paragraphs(...) (formerly "section") are
no longer undocumented and experimental. If you were previously using
them at your own risk, note that "-spillover" is no longer an option (text
will always wrap inside the specified width if possible). In addition,
paragraphs(...) no longer collapses consecutive newlines.
- [RT #98546] There is now an -align-last option for justified text to
specify how the final line should be justified. Left is still the
default.
- Code in the PDF::API2::Basic::PDF namespace was originally licensed under
the Perl Artistic License, which has been determined to not be
(L)GPL-compatible. Martin Hosken has graciously granted an MIT license
for use of his code contained in PDF::API2, so the distribution may now be
used solely under the terms of the LGPL rather than requiring both
licenses simultaneously. Many thanks to Petr Pisar for his help in
working through the licensing issues.
- Renamed $text->lead(...) to $text->leading(...). The old name is
deprecated but will continue to work. If you're modifying PDF::API2
objects by editing their hash values instead of using these accessors,
you'll need to update your code.
- Added a -compress option (on by default) to PDF::API2->new(), open(), and
open_scalar(). If disabled, most streams won't be compressed, which can
simplify debugging.
OBS-URL: https://build.opensuse.org/request/show/876982
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PDF-API2?expand=0&rev=59
- updated to 2.022
- Added $pdf->version() get/set method. When opening an existing
PDF, the existing version number will now be retained.
- Renamed the following in PDF::API2:
- importpage to import_page
- openScalar to open_scalar
The old names are deprecated.
- [RT #69503] Fix the -firstpage option to $pdf->preferences() so
that it doesn't always lead to a crash (reported by Dietrich
Streifert).
- [RT #47974] Accept malformed xref subsections (with a warning)
that have extraneous spaces on the first line (reported by
Abhinav Kaushik).
- [RT #94505] For Code128 barcodes, the initial character set is
now optional (defaults to B or C depending on the content to be
encoded). The initial character set can be passed as a capital
letter, and the program will die if an invalid character set is
requested (requested by Andrea Nall).
- Interleaved 2 of 5 barcodes now prepend a zero when an odd
number of digits is specified, which is standard behavior.
Previously, a zero was appended instead.
- $page->rotate(0) now sets rotation to 0 degrees rather than
deleting an existing page rotation command. Page rotation is
OBS-URL: https://build.opensuse.org/request/show/242618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PDF-API2?expand=0&rev=6
- Update to version 0.66.
- added movie annotation
- replaced IOString dep. with scalar IO
- many changes in font handling
- fixed pnm bitmap decoding
- added -printscalingnone option
- added note on importintoform and importpage for existing pdf-file
- renamed compress to compressFlate
- fix tounicode option
- added pageLabel method
- fixed -twocolumnright option typo
- changed import* methods to check its first arg
- Update to version 0.57.
+ fixed [rt.cpan.org #24203] Incompatibility in Wide character handling
- Update to version 0.56.
+ applied untested fix for acrobat 8 "<ident> TJ" bug
- Initial SUSE package of version 0.55.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PDF-API2?expand=0&rev=3