--- - branch: MAIN date: Sat Mar 27 23:31:08 UTC 2021 files: - new: '1.49' old: '1.48' path: pkgsrc/textproc/p5-PDF-API2/Makefile pathrev: pkgsrc/textproc/p5-PDF-API2/Makefile@1.49 type: modified - new: '1.23' old: '1.22' path: pkgsrc/textproc/p5-PDF-API2/distinfo pathrev: pkgsrc/textproc/p5-PDF-API2/distinfo@1.23 type: modified id: 20210327T233108Z.b55dcf36f4724bcc58f478ec998c90a66b38a019 log: | Update to 2.039 Upstream 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. module: pkgsrc subject: 'CVS commit: pkgsrc/textproc/p5-PDF-API2' unixtime: '1616887868' user: wen