Skip to content

Adapt tests to fewer bogus font ascent/descent value warnings.#4777

Merged
sebras merged 1 commit into
pymupdf:mainfrom
sebras:main
Nov 6, 2025
Merged

Adapt tests to fewer bogus font ascent/descent value warnings.#4777
sebras merged 1 commit into
pymupdf:mainfrom
sebras:main

Conversation

@sebras
Copy link
Copy Markdown
Collaborator

@sebras sebras commented Nov 6, 2025

Since MuPDF commit 3d89b00ae59c6ed1f042d77e049a5668b32ca4ca "Only warn about non-zero bad ascender/descender font values" MuPDF no longer warns "bogus font ascent/descent values (0 / 0)". This commit will be part of the upcoming MuPDF 1.27.0, so this commit updates a few pymupdf tests to this new behaviour.

Since MuPDF commit 3d89b00ae59c6ed1f042d77e049a5668b32ca4ca
"Only warn about non-zero bad ascender/descender font values"
MuPDF no longer warns "bogus font ascent/descent values (0 / 0)".
This commit will be part of the upcoming MuPDF 1.27.0, so this
commit updates a few pymupdf tests to this new behaviour.
@sebras sebras merged commit 38d0479 into pymupdf:main Nov 6, 2025
3 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants