diff --git a/changes.txt b/changes.txt index 6a20b40c6..4c304b8e4 100644 --- a/changes.txt +++ b/changes.txt @@ -2,22 +2,22 @@ Change Log ========== -**Changes in version ** +**Changes in version 1.26.4 ** -* Fixed issues: +* Use MuPDF-1.26.6. - * **Fixed** `4462 `_: delete_pages() does not accept a single int - * **Fixed** `4565 `_: MacOS uses Tesseract and not Tesseract-OCR - * **Fixed** `4590 `_: TypeError in utils.py scrub(): annot.update_file(buffer=...) is invalid - * **Fixed** `4614 `_: Intercept bad widgets when inserting to another PDF - * **Fixed** `4639 `_: pymupdf.mupdf.FzErrorGeneric: code=1: Director error: : 'JM_new_bbox_device_Device' object has no attribute 'layer_name' +* Fixed issues: -* Fixed issues when built with MuPDF master: * **Fixed** `3806 `_: pdf to image rendering ignore optional content offs * **Fixed** `4388 `_: Incorrect PixMap from page due to cached data from other PDF * **Fixed** `4457 `_: Wrong characters displayed after font subsetting (w/ native method) + * **Fixed** `4462 `_: delete_pages() does not accept a single int * **Fixed** `4533 `_: Open PDF error segmentation fault + * **Fixed** `4565 `_: MacOS uses Tesseract and not Tesseract-OCR * **Fixed** `4571 `_: Broken merged pdfs. + * **Fixed** `4590 `_: TypeError in utils.py scrub(): annot.update_file(buffer=...) is invalid + * **Fixed** `4614 `_: Intercept bad widgets when inserting to another PDF + * **Fixed** `4639 `_: pymupdf.mupdf.FzErrorGeneric: code=1: Director error: : 'JM_new_bbox_device_Device' object has no attribute 'layer_name' * Other: diff --git a/tests/test_font.py b/tests/test_font.py index 7cf1137b2..b7d2c223c 100644 --- a/tests/test_font.py +++ b/tests/test_font.py @@ -318,7 +318,7 @@ def test_4457(): assert text_before == text assert rms_before == 0 - if pymupdf.mupdf_version_tuple >= (1, 27): + if pymupdf.mupdf_version_tuple >= (1, 26, 6): assert rms_after == 0 else: # As of 2025-05-20 there are some differences in some characters, diff --git a/tests/test_general.py b/tests/test_general.py index 8edc8dd8f..c00db47de 100644 --- a/tests/test_general.py +++ b/tests/test_general.py @@ -616,7 +616,7 @@ def test_2596(): pix1 = page.get_pixmap() assert pix1.samples == pix0.samples rebased = hasattr(pymupdf, 'mupdf') - if pymupdf.mupdf_version_tuple < (1, 27): + if pymupdf.mupdf_version_tuple < (1, 26, 6): wt = pymupdf.TOOLS.mupdf_warnings() assert wt == 'too many indirections (possible indirection cycle involving 24 0 R)'