From b9454723d856d8fcc82d87f4e85aef6b9328c09f Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 28 Jan 2025 12:58:50 +0000 Subject: [PATCH] MAINT: Remove unused variables (#3088) Specifically CUSTOM_RTL_MIN, CUSTOM_RTL_MAX, and CUSTOM_RTL_SPECIAL_CHARS. --- pypdf/_page.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pypdf/_page.py b/pypdf/_page.py index 954bb10c9..4c3c6d218 100644 --- a/pypdf/_page.py +++ b/pypdf/_page.py @@ -1910,7 +1910,6 @@ def process_operation(operator: bytes, operands: List[Any]) -> None: nonlocal cm_matrix, tm_matrix, cm_stack, cm_prev, tm_prev, memo_cm, memo_tm nonlocal char_scale, space_scale, _space_width, TL, font_size, cmap nonlocal orientations, rtl_dir, visitor_text, output, text, _actual_str_size - global CUSTOM_RTL_MIN, CUSTOM_RTL_MAX, CUSTOM_RTL_SPECIAL_CHARS check_crlf_space: bool = False str_widths: float = 0.0