Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdfviewer: Add support for pymupdf renaming #2609

Merged
merged 1 commit into from
Sep 13, 2024

Commits on Sep 13, 2024

  1. pdfviewer: Add support for pymupdf renaming

    The 'fitz' module got renamed to 'pymupdf' in 1.24.3 Prepare for an
    eventual deprecation and removal by importing from pymupdf first and
    falling back to fitz only if that fails.
    
    I also got rid of the other 'fitz'es in the file via 'fitz as pymupdf',
    since pymupdf.open is much easier to read than fitz.open.
    Infernio committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    6dd4312 View commit details
    Browse the repository at this point in the history