github pymupdf/PyMuPDF 1.23.8
PyMuPDF-1.23.8 released

latest releases: 1.24.13, 1.24.12, 1.24.11...
10 months ago

PyMuPDF-1.23.8 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

[Linux-aarch64 wheels are not available yet, they will be build and uploaded later.]

Changes in version 1.23.8 (2023-12-19)

  • Bug fixes (rebased implementation only):

    • Fixed 2634
    • Fixed 2861
    • Fixed 2871
    • Fixed 2886
  • Bug fixes (rebased and classic implementations):

    • Fixed 2885
  • Other:

    • Rebased implementation:

      • Page.insert_htmlbox(): new, much more powerful alternative to Page.insert_textbox() or TextWriter.fill_textbox(), using Story.
      • Story.fit*(): new methods for fitting a Story into an expanded rect.
      • Story.write_with_links(): add support for external links.
      • Document.language(): fixed to use MuPDF's new mupdf.fz_string_from_text_language2().
      • Document.subset_fonts() - fixed.
      • Fixed internal Archive._add_treeitem() method.
      • Fixed fitz_new.__doc__ to contain PyMuPDF and Python version information, and OS name.
      • Removed use of (*args, **kwargs) in API, we now specify keyword args explicitly.
      • Work with new MuPDF Python exception classes.
    • Fixed bug where button_states() returns None when /AP points to an indirect object.

    • Fixed pillow test to not ignore all errors, and install pillow when testing.

    • Added test for fitz.css_for_pymupdf_font() (uses package pymupdf-fonts).

    • Simplified Github Actions test specifications.

    • Updated tests/README.md.

Don't miss a new PyMuPDF release

NewReleases is sending notifications on new releases.