From 844f6e02a1e8e84694cf698ec8759b10676ab46d Mon Sep 17 00:00:00 2001 From: j-t-1 <120829237+j-t-1@users.noreply.github.com> Date: Tue, 28 Jan 2025 10:47:53 +0000 Subject: [PATCH] STY: Tweak function _extract_text Change comments, one "elif" to an "if", and one variable name. --- pypdf/_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypdf/_page.py b/pypdf/_page.py index 1fd08f8ba..33dbcafc1 100644 --- a/pypdf/_page.py +++ b/pypdf/_page.py @@ -1996,7 +1996,7 @@ def process_operation(operator: bytes, operands: List[Any]) -> None: # char_map_tuple: font_type, # float(sp_width / 2), # encoding, - # map_dict, + # map_dict, # font_dict (describes the font) char_map_tuple = cmaps[operands[0]] # current cmap: encoding,