PyMuPDF-1.21.1 has been released.
Wheels for Windows, Linux and MacOS, and the sdist, are available on pypi.org and can be installed in the usual way, for example:
python -m pip install --upgrade pymupdf
Changes in Version 1.21.1 (2022-12-13)
-
This release uses
MuPDF-1.21.1
. -
Bug fixes:
- Fixed #2110: Fully embedded font is extracted only partially if it occupies more than one object
- Fixed #2094: Rectangle Detection Logic
- Fixed #2088: Destination point not set for named links in toc
- Fixed #2087: Image with Filter "[/FlateDecode/JPXDecode]" not extracted
- Fixed #2086: Document.save() owner_pw & user_pw has buffer overflow bug
- Fixed #2076: Segfault in fitz.py
- Fixed #2051: Missing DPI Parameter
- Fixed #2048: Invalid size of TextPage and bbox with newest version 1.21.0
- Fixed #2045: SystemError: returned a result with an error set
- Fixed #2039: 1.21.0 fails to build against system libmupdf
- Fixed #2036: Archive::Archive defined twice
-
Other
- Swallow "&zoom=nan" in link uri strings.
- Add new Page utility methods
Page.replace_image()
andPage.delete_image()
.
-
Documentation:
- #2040: Added note about test failure with non-default build of MuPDF, to
tests/README.md
. - #2037: In
docs/installation.rst
, mention incompatibility with chocolatey.org on Windows. - #2061: Fixed description of
Annot.file_info
. - #2065: Show how to insert internal PDF link.
- Improved description of building from source without an sdist.
- Added information about running tests.
- #2084: Fixed broken link to PyMuPDF-Utilities.
- #2040: Added note about test failure with non-default build of MuPDF, to