Skip to content

Commit

Permalink
MAINT: Tiny change to _extract_text
Browse files Browse the repository at this point in the history
For readability, because this is a complex function.
  • Loading branch information
j-t-1 authored Jan 26, 2025
1 parent d975926 commit 71754bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1894,7 +1894,7 @@ def _extract_text(
# Store the position at the beginning of building the text
memo_cm: List[float] = [1.0, 0.0, 0.0, 1.0, 0.0, 0.0]
memo_tm: List[float] = [1.0, 0.0, 0.0, 1.0, 0.0, 0.0]

char_scale = 1.0
space_scale = 1.0
_space_width: float = 500.0 # will be set correctly at first Tf
Expand Down

0 comments on commit 71754bc

Please sign in to comment.