Skip to content

Releases: rrthomas/psutils

Release v3.3.2

18 Sep 08:51
Compare
Choose a tag to compare

This release improves the documentation of pagespecs, and adds an example

The error message for invalid pagespecs previously had a small mistake in the syntax it displayed; this has been fixed. Thanks, @jgclark!

Release v3.3.1

16 Sep 21:24
Compare
Choose a tag to compare

This release fixes a bug in the pstops(1) man page example for duplex book printing. Many apologies to users who wondered what they were doing wrong when following it!

Release v3.3.0

12 Sep 14:08
Compare
Choose a tag to compare

This release improves psnup and updates to a later version of pypdf that fixes a crash.

In psnup, improve how we guess the page size. Since we can now guess the size of PostScript files accurately in many cases, use the input size first, then the output size, and only then fall back to paper’s value.

Also, fix a bug where the output paper size was incorrectly changed during processing.

We now require pypdf >= 3.16, which fixes a bug that could cause a crash on PDF documents containing links that pointed to each other.

Finally, the test suite has been improved to fall back to visual comparison
of PDF outputs when they are not byte-identical. This should ease pypdf
upgrades in future, and in particular avoid either having to hard-wire a
particular pypdf version (as we did with PSUtils version 3.2.0), or risk
test failures with newer versions of pypdf than the minimum required version
(as we did previously).

Release v3.2.0

02 Sep 15:16
Compare
Choose a tag to compare

This release improves support for reading the paper size of PostScript
files. In particular, it will try to use PageBoundingBox, BoundingBox, and
HiResBoundingBox settings, if there is no DocumentMedia, in that order. If
it uses a BoundingBox or HiResBoundingBox setting, it will warn the user
that it has guessed the page size when this matters (for example, when
running psnup).

Release v3.1.2

30 Aug 08:15
Compare
Choose a tag to compare

This release restores the --version option to pstops, which was inadvertently removed in 3.1.0.

Release v3.1.1

23 Aug 00:48
Compare
Choose a tag to compare

This release is a minor update that requires pypdf 3.15.2, as this release changed some test results cosmetically.

There is no need to upgrade if you’re not concerned with running the tests.

Release v3.1.0

22 Aug 23:13
Compare
Choose a tag to compare

This release adds the ability to pass the page specs to psnup without the --specs flag, for backwards compatibility with PSUtils 1.x. This usage is deprecated, and is not recommended, but in 1.x it was mandatory.

The release also fixes PDF output when the output is sent to standard output.

Thanks to James Clark for reporting both bugs.

Release v3.0.9

11 Aug 18:10
Compare
Choose a tag to compare

This release updates to PyPDF 3.15.

Release v3.0.8

24 Jul 06:31
Compare
Choose a tag to compare

This release updates the back-end library pypdf to version 3.12.

Since pypdf 3.11 and later optimize the PDF output better than earlier versions, some test results had to be regenerated.

Release v3.0.7

21 Jul 18:18
Compare
Choose a tag to compare

This release fixes obtaining paper sizes from the ‘paper’ program in locales
that use a decimal point that is not a full stop.