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

Fix #2596 #2711

Merged
merged 3 commits into from
Oct 5, 2023
Merged

Fix #2596 #2711

merged 3 commits into from
Oct 5, 2023

Commits on Oct 3, 2023

  1. Fix #2596

    When continuing to use a page object after the PDF has been saved with garbage options may change the MuPDF cache such that e.g. rendering the page after the save will produce wrong appearance or even garbled appearance.
    The user needs to reload the page (page = doc.reload(page)) before using it further, especially for rendering.
    The reload method now always empties the cache.
    JorjMcKie committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    7fe47ba View commit details
    Browse the repository at this point in the history
  2. add missing testfile

    JorjMcKie committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    885f75c View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. src/__init__.py: address #2596 in rebased.

    The underlying fz_page was being kept alive so reload_page()'s call of
    fz_load_page() was returning it from the document's internal list of pages
    instead of regenerating it.
    julian-smith-artifex-com committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    6b7e54b View commit details
    Browse the repository at this point in the history