Skip to content

Conversation

@art049
Copy link
Member

@art049 art049 commented Jul 18, 2024

This pull request was created automatically by CodSpeed to track performance changes of the pull request py-pdf/pypdf#2760.

The original branch is fork-2760-pubpub-zz/iss2702

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 18, 2024

CodSpeed Performance Report

Merging #99 will not alter performance

Comparing fork-2760-pubpub-zz/iss2702 (10bc22b) with main (1a18f7f)

Summary

✅ 6 untouched benchmarks

@art049 art049 force-pushed the main branch 4 times, most recently from 79e6939 to 85297ae Compare July 22, 2024 09:40
@coco-speed coco-speed force-pushed the main branch 2 times, most recently from 2c05ed4 to 38c93bb Compare July 26, 2024 10:20
stefan6419846 and others added 13 commits July 28, 2024 17:16
* DEV: Test against Python 3.13

* fix typo

* add missing setup-python

* fix another typo

* update Pillow version

* attempt to update coverage package

* update number of expected coverage files
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
…ayout mode (py-pdf#2788)

* Handle Sequence as an IndirectObject

The spec allows an int or float to be an IndirectObject as well, but this commit does not address that theoretical possibility.

* Update pypdf/_text_extraction/_layout_mode/_font.py

Co-authored-by: Stefan <96178532+stefan6419846@users.noreply.github.com>

* Address PR comments

-Rename w_1 to w_next_entry
-Utilize ParseError instead of PdfReadError
-Write a test (both positive and negative)

* Handle unlikely case of IndirectObjects for float/int width elements

Also adds a comment to clarify that we don't explicitly handle the IndexError exception. Rather, we let it be raised as an IndexError.

* Yoda condition I removed

* Last commit was a bad patch, confused by non-committed changes

* Use test files from URL rather than resources

* Update tests/test_text_extraction.py

Co-authored-by: pubpub-zz <4083478+pubpub-zz@users.noreply.github.com>

* Fix code style warnings in range() call

---------

Co-authored-by: Stefan <96178532+stefan6419846@users.noreply.github.com>
Co-authored-by: pubpub-zz <4083478+pubpub-zz@users.noreply.github.com>
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.

8 participants