comparison tests/test_tables.py @ 41:71bcc18e306f

MERGE: New upstream PyMuPDF v1.26.5 including MuPDF v1.26.10 BUGS: Needs some additional changes yet. Not yet tested.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 11 Oct 2025 15:24:40 +0200
parents a6bc019ac0b2
children
comparison
equal deleted inserted replaced
38:8934ac156ef5 41:71bcc18e306f
182 assert ( 182 assert (
183 pymupdf.TOOLS.set_small_glyph_heights() is False 183 pymupdf.TOOLS.set_small_glyph_heights() is False
184 ), f"{pymupdf.TOOLS.set_small_glyph_heights()=}" 184 ), f"{pymupdf.TOOLS.set_small_glyph_heights()=}"
185 185
186 wt = pymupdf.TOOLS.mupdf_warnings() 186 wt = pymupdf.TOOLS.mupdf_warnings()
187 if pymupdf.mupdf_version_tuple >= (1, 26, 0): 187 if pymupdf.mupdf_version_tuple >= (1, 26, 8):
188 assert (
189 wt
190 == "bogus font ascent/descent values (3117 / -2463)\n... repeated 2 times...\nActualtext with no position. Text may be lost or mispositioned.\n... repeated 96 times..."
191 )
192 elif pymupdf.mupdf_version_tuple >= (1, 26, 0):
188 assert ( 193 assert (
189 wt 194 wt
190 == "bogus font ascent/descent values (3117 / -2463)\n... repeated 2 times..." 195 == "bogus font ascent/descent values (3117 / -2463)\n... repeated 2 times..."
191 ) 196 )
192 else: 197 else: