Skip to content

Conversation

@robinwatts
Copy link
Collaborator

I have no idea why this is now necessary.

The test extracts text and images from a page. It drops any images
that are not fully included within the mediabox. Accordingly the
test never sees any images, so works fine.

In a new MuPDF commit, when the CLIP flag is sent, images are
restricted to the clip region - i.e. they always fit within the
mediabox, hence we now have images appearing in the list.

The fix is to skip any non-text blocks in the test.
@robinwatts robinwatts merged commit 4769a26 into main Jan 26, 2026
3 checks passed
@robinwatts robinwatts deleted the fixsubst branch January 26, 2026 19:04
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2026
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