Skip to content

Remove dependency on MuPDF version#4483

Closed
JorjMcKie wants to merge 1 commit into
mainfrom
update-text-flags
Closed

Remove dependency on MuPDF version#4483
JorjMcKie wants to merge 1 commit into
mainfrom
update-text-flags

Conversation

@JorjMcKie
Copy link
Copy Markdown
Collaborator

Add all MuPDF STEXT flags up to v1.26.0 to PyMuPDF. Use hard coded values if unknown in an earlier MuPDF version that we still want / need to support. The intention is to switch to MuPDF's symbolic names as soon as we drop support of the corresponding version. Flag bits representing current MuPDF features can always be used because the are ignored by older MuPDF versions.

Also removed some duplicate definitions.

@JorjMcKie JorjMcKie force-pushed the update-text-flags branch 2 times, most recently from f57cb6b to 064c7c0 Compare May 2, 2025 12:22
Add all MuPDF STEXT flags up to v1.26.0 to PyMuPDF.
Use hard coded values if unknown in an earlier MuPDF version that we still want / need to support.
The intention is to switch to MuPDF's symbolic names as soon as we drop support of the corresponding version.
Flag bits representing current MuPDF features can always be used because the are ignored by older MuPDF versions.

Also removed some duplicate definitions.
@JorjMcKie JorjMcKie force-pushed the update-text-flags branch from 064c7c0 to 3fb63a1 Compare May 2, 2025 12:50
@JorjMcKie JorjMcKie closed this May 14, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators May 14, 2025
@JorjMcKie JorjMcKie deleted the update-text-flags branch May 24, 2025 11:50
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.

1 participant