[gscan2pdf-announce] scantpaper v4.0.4 released
Brought to you by:
ra28145
|
From: Jeff <jf...@po...> - 2026-11-14 12:34:07
|
Changes compared to v4.0.3: * Cancelling a PDF save now stops the save even when the pages have already been assembled: a cancel issued while the text layer is being embedded, the pages are being JBIG2-converted, or the PDF finalized no longer lets the save finish. The interrupted save is reported as cancelled rather than as an error, so the progress bar disappears without a spurious error dialog, and the document stays usable (a later save works normally). * Cancelling a multi-page or multi-file import no longer shows an empty error dialog. An interrupted background job is now reported as cancelled rather than as an error, so cancelling an import leaves the pages imported before the cancel in the document. * Words containing a typographic ligature, such as `ff`, stay searchable on every supported distribution. Ghostscript 10.06, shipped by Ubuntu 26.04, dropped the multi-character `ToUnicode` mapping of a shaped ligature during the PDF/A conversion, so extracting the text lost the whole word. The invisible text layer is now rendered without ligature substitutions, so every character keeps its own mapping. * Bilevel pages saved as Group 4 now keep that encoding on every supported distribution. Ghostscript 10.06, shipped by Ubuntu 26.04, rewrote 1-bit images as Flate during the PDF/A conversion even though scantpaper asked for lossless handling. The saved PDF is re-encoded as CCITT Group 4 after the text layer is embedded, including images that the converter inlined, so the encoding selected by **Automatic** or **G4** is preserved. * Saving with **Downsample** now completes on every supported distribution. The Ubuntu builds of Pillow 12.1 and 12.3, shipped by 26.04 and 26.10, carry a bad backport of an upstream Pillow commit which makes nearest-neighbour resampling fail, so bilevel and palette pages stopped the save with an error. The unpatched PyPI builds of the same versions are unaffected. Bilevel pages are now averaged and thresholded back to one bit, and palette pages are resampled in their true colours, so the save finishes and the output is the same on every series. * Text fields now keep their standard editing shortcuts. When the text- layer editor has focus, `Ctrl+X`, `Ctrl+C`, `Ctrl+V`, `Ctrl+A`, `Ctrl+Z`, `Ctrl+Shift+Z`, `+` and `-` edit the text instead of acting on pages or zooming the image. Page and zoom shortcuts still work when focus is outside a text field, and the mouse wheel continues to zoom. * Focusing a slice in the text or annotation editor now puts keyboard focus in its text control and selects the slice text. Pressing Delete therefore clears the OCR text instead of deleting the page, and typing replaces the selected text. Page deletion with Delete still works from the page list. * Saving a scan profile works again. The GTK4 port built the profile naming dialog with a positional title, which GTK4 rejects, so the save button in the **Scan profiles** frame did nothing. Profiles can now be named, listed and reused across sessions. * The scan profile buttons now show **Save**, **Edit** and **Delete**, and the icon-only buttons in the scan and preferences dialogs explain themselves with a tooltip and an accessible name. The buttons use symbolic icon names, so they render under Adwaita as well as desktop themes, and the Edit button no longer shows a broken-image placeholder. Available on Github: https://github.com/carygravel/scantpaper/releases/tag/v4.0.4 Or via the PPA: https://launchpad.net/~jeffreyratcliffe/+archive/ubuntu/ppa |