Skip to content

Fixes #5319 - #5321

Open
JorjMcKie wants to merge 1 commit into
mainfrom
fix-5319
Open

JorjMcKie wants to merge 1 commit into
mainfrom
fix-5319

Conversation

@JorjMcKie

Copy link
Copy Markdown
Collaborator

We previously used separate code in method variant `page.get_text(sort=True)´ to achieve text output as close as possible to the visual appearance.

This change replaces the code by instead invoking the CLI command pymupdf gettext -mode layout.

This entailed adding a new "clip" keyword parameter to the respective function, which is only reachable in the programming API.

We previously used separate code in method variant `page.get_text(sort=True)´ to achieve text output as close as possible to the visual appearance.

This change replaces the code by instead invoking the CLI command
`pymupdf gettext -mode layout`.

This entailed adding a new "clip" keyword parameter to the respective function, which is only reachable in the programming API.
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.

1 participant