Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mupdf: fix getPageText implementation #1975

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

benoit-pierre
Copy link
Contributor

@benoit-pierre benoit-pierre commented Nov 14, 2024

Ignore empty word / line boxes, including the fz_empty_rect case (which changed from (0, 0, 0, 0) to (FZ_MAX_INF_RECT, FZ_MAX_INF_RECT, FZ_MIN_INF_RECT, FZ_MIN_INF_RECT) after the MuPDF update from 1.13.0 to 1.24.2).


This change is Reviewable

Ignore empty word / line boxes, including the `fz_empty_rect` case (which changed from
`(0, 0, 0, 0)` to `(FZ_MAX_INF_RECT, FZ_MAX_INF_RECT, FZ_MIN_INF_RECT, FZ_MIN_INF_RECT)`
after the MuPDF update from 1.13.0 to 1.24.2).
@Frenzie Frenzie merged commit 6d59b03 into koreader:master Nov 20, 2024
3 checks passed
@benoit-pierre benoit-pierre deleted the pr/fix_mupdf_getPageText branch November 20, 2024 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants