Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan6419846 authored Dec 20, 2024
1 parent 51e1de5 commit 00e4df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pypdf/_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1984,8 +1984,8 @@ def process_operation(operator: bytes, operands: List[Any]) -> None:
elif operator == b"Tw":
space_scale = 1.0 + float(operands[0] if operands else 0.0)
elif operator == b"TL":
scale_x = math.sqrt(tm_matrix[0]**2 + tm_matrix[2]**2)
TL = float(operands[0] if operands else 0.0) * font_size * scale_x
scale_x = math.sqrt(tm_matrix[0]**2 + tm_matrix[2]**2)
TL = float(operands[0] if operands else 0.0) * font_size * scale_x
elif operator == b"Tf":
if text != "":
output += text # .translate(cmap)
Expand Down

0 comments on commit 00e4df4

Please sign in to comment.