Skip to content

Commit

Permalink
MAINT: Text extraction improvements (#1126)
Browse files Browse the repository at this point in the history
Credits to pubpub-zz, see
#1118 (comment)

Co-authored-by: pubpub-zz <[email protected]>
  • Loading branch information
MartinThoma and pubpub-zz authored Jul 17, 2022
1 parent 0b693e1 commit e24b0a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion PyPDF2/_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,6 @@ def process_operation(operator: bytes, operands: List) -> None:
if isinstance(op, (int, float, NumberObject, FloatObject)):
if (
(abs(float(op)) >= _space_width)
and (abs(float(op)) <= 8 * _space_width)
and (len(text) > 0)
and (text[-1] != " ")
):
Expand Down

0 comments on commit e24b0a0

Please sign in to comment.