James R. Barlow
ea36aedb5f
Overhaul version checkers to prefer Version to str
2023-09-25 00:59:44 -07:00
James R. Barlow
bd4d44e182
Remove Python 3.8 shim for missing str.removeprefix
2023-09-25 00:31:48 -07:00
James R. Barlow
8fcf358934
Rename pike local variable to pdf for consistency
2023-09-25 00:22:26 -07:00
James R. Barlow
47b0f28564
Minor documentation and typing fixes
2023-09-25 00:19:48 -07:00
James R. Barlow
7018e2b247
Refactor ghostscript error message deduplicating
2023-09-24 20:22:04 -07:00
James R. Barlow
8d12ecb798
Refactor docinfo repair code
2023-09-24 20:21:26 -07:00
James R. Barlow
0ab29ec0ba
Update release notes
2023-09-24 01:30:12 -07:00
James R. Barlow
179714770a
Update release ntoes
2023-09-24 01:24:00 -07:00
James R. Barlow
f04f45545c
ghostscript: fix missing type annotation
2023-09-24 01:19:56 -07:00
James R. Barlow
a3a083c125
logging: Avoid possible multiplication by None
2023-09-23 15:08:55 -07:00
James R. Barlow
d855f63985
Remove single dispatch version of calculate_downsample
2023-09-23 15:05:04 -07:00
James R. Barlow
d4863cbf0f
helpers: fix typing
2023-09-23 14:59:11 -07:00
James R. Barlow
7b8f081fbf
Enable pikepdf mmap again
2023-09-23 14:50:56 -07:00
James R. Barlow
7d33039bcd
Add comment re: reportlab shim
2023-09-21 00:27:45 -07:00
James R. Barlow
fde886baf4
Revert "Drop reportlab warning shim"
...
This reverts commit 162a47f98e .
2023-09-21 00:26:50 -07:00
James R. Barlow
146da79c00
Regenerate test cache
2023-09-21 00:24:55 -07:00
James R. Barlow
2fc3b0d973
Move issue*.pdf into separate folder
2023-09-21 00:19:13 -07:00
James R. Barlow
5667424530
Lower pngquant version req
2023-09-21 00:13:03 -07:00
James R. Barlow
8add531ffd
Drop Ubuntu 20.04 from build matrix
2023-09-21 00:12:07 -07:00
James R. Barlow
0388c23ae7
Merge branch 'feature/jbig2thresh' into v15
2023-09-21 00:07:05 -07:00
James R. Barlow
9b77daae7c
Merge branch 'feature/snap22' into v15
2023-09-21 00:06:14 -07:00
James R. Barlow
3e1b3ec98d
Merge branch 'feature/fix-raster-dpi-too-high' into v15
2023-09-21 00:05:56 -07:00
James R. Barlow
0f0ca6f517
Draft v15 release notes
2023-09-21 00:05:39 -07:00
James R. Barlow
c93349c350
Convert workflow to trusted PyPI publisher
2023-09-21 00:05:39 -07:00
James R. Barlow
0c287929c2
Don't use really old Python for deliverable building
2023-09-21 00:05:39 -07:00
James R. Barlow
23a37fc35c
Document that Ubuntu 22.04 and 20.04 both use Tesseract 4.1.1
2023-09-21 00:05:39 -07:00
James R. Barlow
162a47f98e
Drop reportlab warning shim
2023-09-21 00:05:39 -07:00
James R. Barlow
0239f69912
Tigthen Python dependencies
2023-09-21 00:05:39 -07:00
James R. Barlow
2ad8961d0b
Require pngquant 2.13.1 or newer
2023-09-21 00:05:39 -07:00
James R. Barlow
eec8a2b574
Change minimum Ghostscript version to 9.55
2023-09-21 00:05:39 -07:00
James R. Barlow
6c78076bea
Drop support for gswin32c / 32-bit Ghostscript for Windows
2023-09-21 00:05:39 -07:00
James R. Barlow
2637e84691
Complain about all 32-bit interpreters, not just windows
2023-09-21 00:05:39 -07:00
James R. Barlow
e8c82ee4b6
Remove shim for img2pdf < 0.4.4
2023-09-21 00:05:39 -07:00
James R. Barlow
de2bb5ce8c
Remove tqdm dependency and TqdmConsole
...
Might be too aggressive? No deprecation warning....
2023-09-21 00:05:39 -07:00
James R. Barlow
ec1c377532
Drop Python 3.8 too
...
(cherry picked from commit a8cdc5a191bdf1fe401e96c2dc9a5fba39b90d79)
2023-09-21 00:05:39 -07:00
James R. Barlow
173428e81a
Added weighted DPI rendering
...
To address #1010 and other issues.
2023-09-21 00:04:50 -07:00
James R. Barlow
67ed29dcea
Fix incorrect printed_area calculation
2023-09-21 00:02:02 -07:00
James R. Barlow
3454c050ed
Introduce Resolution.take_min
2023-09-21 00:01:42 -07:00
James R. Barlow
5ee99b26e7
Update snap to use core22
2023-09-20 17:01:36 -07:00
James R. Barlow
ac3aa67d8a
Revise to PageResolutionProfile
2023-09-20 16:58:59 -07:00
James R. Barlow
1768a1eda9
Improve documentation for large image downsampling
2023-09-20 16:58:59 -07:00
James R. Barlow
5902fe45c1
Rename Resolution.mean to to_scalar
2023-09-20 16:58:59 -07:00
James R. Barlow
78981641f0
Introduce new functions to calculate DPI exceptions
2023-09-20 16:58:59 -07:00
James R. Barlow
c77ae4b34c
Change hookspec to migration parameters for generate_pdf to options object
...
Breaking change for PDF rendering plugins (although none are known to exist).
This provides better separation of Ghostscript specific concerns from
the generic plugin interface.
2023-09-20 15:40:18 -07:00
James R. Barlow
b2cbbf0099
Migrate --pdfa-image-compression argument to being managed by Ghostscript plugin
2023-09-20 15:20:42 -07:00
James R. Barlow
6b6c34af01
Fix test artifact generated incorrectly
...
Test still passed either way
2023-09-20 15:20:13 -07:00
James R. Barlow
be12f7a728
Make fish completion a bit smarter
2023-09-20 14:45:22 -07:00
James R. Barlow
e3c813fc67
Added support for changing color conversion strategy
2023-09-20 01:08:15 -07:00
35a1eaf62a
Bump docker/setup-qemu-action from 2 to 3 ( #1151 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 12:06:38 -07:00
d393d18c13
Bump docker/login-action from 2 to 3 ( #1152 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 12:06:30 -07:00