Mercurial > hgrepos > Python2 > PyMuPDF
comparison tests/test_tables.py @ 39:a6bc019ac0b2 upstream
ADD: PyMuPDF v1.26.5: the original sdist.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 11 Oct 2025 11:19:58 +0200 |
| parents | 1d09e1dec1d9 |
| children |
comparison
equal
deleted
inserted
replaced
| 2:b50eed0cc0ef | 39:a6bc019ac0b2 |
|---|---|
| 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: |
