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

Fixes: IndexError while using split_text #21

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Fixes: IndexError while using split_text #21

merged 2 commits into from
Aug 12, 2024

Conversation

snanda85
Copy link

split_text in lattice mode raised IndexError in certain scenarios where empty TextLine exists (most likely in cases with multiline columns).

See camelot-dev#287 for more details.

This PR adds the fix provided by ramSeraph

@bosd
Copy link
Collaborator

bosd commented Aug 8, 2024

@snanda85 Thanks for your pr, can you rebase with master?

Can you Please remove the commit with the version bumps, or put them in a separate pr?

@bosd bosd added bug Something isn't working help wanted Extra attention is needed labels Aug 10, 2024
Copy link
Collaborator

@bosd bosd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
Thanks for contibuting.
This bug has been open since 2019!
camelot-dev#98 and camelot-dev#99

Will merge this soon! 😄

@bosd bosd merged commit 3068cac into py-pdf:main Aug 12, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants